GetNextScreen -> GetNextScreenName (makes return type more clear in Lua)

This commit is contained in:
Chris Danford
2007-08-25 03:13:16 +00:00
parent 06212434a5
commit 09e3f1872e
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ void ScreenAttract::HandleScreenMessage( const ScreenMessage SM )
* going to interrupt it when we fade in, stop the old music before we fade out. */
bool bMusicChanging = false;
if( PLAY_MUSIC )
bMusicChanging = THEME->GetPathS(m_sName,"music") != THEME->GetPathS(GetNextScreen(),"music",true); // GetPath optional on the next screen because it may not have music.
bMusicChanging = THEME->GetPathS(m_sName,"music") != THEME->GetPathS(GetNextScreenName(),"music",true); // GetPath optional on the next screen because it may not have music.
if( bMusicChanging )
SOUND->StopMusic();