use SetCurrentStyle

This commit is contained in:
Glenn Maynard
2006-09-30 22:22:26 +00:00
parent fcffe3c80f
commit 0b45f5dd0a
14 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -618,7 +618,7 @@ void GameCommand::ApplySelf( const vector<PlayerNumber> &vpns ) const
if( m_pStyle != NULL )
{
GAMESTATE->m_pCurStyle.Set( m_pStyle );
GAMESTATE->SetCurrentStyle( m_pStyle );
// It's possible to choose a style that didn't have enough
// players joined. If enough players aren't joined, then