File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed
Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -385,14 +385,16 @@ void CTFMapInfoMenu::LoadMapPage()
385385 {
386386 m_pMapInfo->SetText ( wszMapDescription );
387387 }
388- else if ( StringHasPrefix ( m_szMapName, " vsh_" ) )
388+ #ifndef BDSBASE
389+ else if (StringHasPrefix (m_szMapName, " vsh_" ))
389390 {
390- m_pMapInfo->SetText ( " #default_vsh_description" );
391+ m_pMapInfo->SetText (" #default_vsh_description" );
391392 }
392- else if ( StringHasPrefix ( m_szMapName, " zi_" ) )
393+ else if (StringHasPrefix (m_szMapName, " zi_" ) )
393394 {
394- m_pMapInfo->SetText ( " #default_zi_description" );
395+ m_pMapInfo->SetText (" #default_zi_description" );
395396 }
397+ #endif
396398 else
397399 {
398400 // try loading map descriptions from .txt files first
@@ -497,7 +499,19 @@ void CTFMapInfoMenu::LoadMapPage()
497499
498500 if ( !g_pVGuiLocalize->Find ( mapInfoKey ) )
499501 {
500- if ( TFGameRules () )
502+ #ifdef BDSBASE
503+ if (StringHasPrefix (m_szMapName, " vsh_" ))
504+ {
505+ pszDescription = " #default_vsh_description" ;
506+ }
507+ else if (StringHasPrefix (m_szMapName, " zi_" ))
508+ {
509+ pszDescription = " #default_zi_description" ;
510+ }
511+ else if (TFGameRules ())
512+ #else
513+ if (TFGameRules ())
514+ #endif
501515 {
502516 if ( TFGameRules ()->IsMannVsMachineMode () )
503517 {
You can’t perform that action at this time.
0 commit comments