Fix last arcade stage graphic not being cached; fix this correctly.

This commit is contained in:
Glenn Maynard
2003-10-24 04:56:17 +00:00
parent 03c687861d
commit b8095439f4
2 changed files with 5 additions and 7 deletions
+3 -2
View File
@@ -133,8 +133,9 @@ ScreenSelectMusic::ScreenSelectMusic( CString sClassName ) : Screen( sClassName
GAMESTATE->GetAllStageTexts( StageTexts );
for( unsigned i = 0; i < StageTexts.size(); ++i )
{
CString path = THEME->GetPathToG( "ScreenSelectMusic stage "+StageTexts[i] );
TEXTUREMAN->CacheTexture( path );
CString path = THEME->GetPathToG( "ScreenSelectMusic stage "+StageTexts[i], true );
if( path != "" )
TEXTUREMAN->CacheTexture( path );
}
}