cleanup: Remove Style and use StyleDef everywhere. This gets rid of a lot of Style->StyleDef lookups and discourages code that's specific to a Style. All game logic should be data-driven.
This commit is contained in:
@@ -96,7 +96,7 @@ bool ScreenJukebox::SetSong( bool bDemonstration )
|
||||
bool ScreenJukebox::PrepareForJukebox( bool bDemonstration ) // always return true.
|
||||
{
|
||||
// ScreeJukeboxMenu must set this
|
||||
ASSERT( GAMESTATE->m_CurStyle != STYLE_INVALID );
|
||||
ASSERT( GAMESTATE->m_pCurStyleDef );
|
||||
GAMESTATE->m_PlayMode = PLAY_MODE_REGULAR;
|
||||
|
||||
SetSong( bDemonstration );
|
||||
|
||||
Reference in New Issue
Block a user