fix battle crash

This commit is contained in:
Glenn Maynard
2005-09-03 05:49:30 +00:00
parent ae0e385c10
commit 234020b489
+8 -1
View File
@@ -181,9 +181,16 @@ void PlayerInfo::Load( PlayerNumber pn, MultiPlayer mp, bool bShowNoteField )
break;
}
switch( GAMESTATE->m_PlayMode )
{
case PLAY_MODE_BATTLE:
case PLAY_MODE_RAVE:
m_pWin = new Transition;
break;
}
m_ptextPlayerOptions = NULL;
m_pActiveAttackList = NULL;
m_pWin = NULL;
m_pPlayer = new Player( bShowNoteField, true );
m_pInventory = NULL;
m_pDifficultyIcon = NULL;