We're not allowed to skip screens at the engine level; crash instead. (We're crashing anyway)
This commit is contained in:
@@ -61,11 +61,8 @@ void ScreenSelectCharacter::Init()
|
|||||||
|
|
||||||
vector<Character*> apCharacters;
|
vector<Character*> apCharacters;
|
||||||
GAMESTATE->GetCharacters( apCharacters );
|
GAMESTATE->GetCharacters( apCharacters );
|
||||||
if( apCharacters.empty() )
|
// We're not allowed to skip screens at the engine level; thow an assert instead.
|
||||||
{
|
ASSERT( apCharacters.empty() );
|
||||||
this->PostScreenMessage( SM_GoToNextScreen, 0 );
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
switch( GAMESTATE->m_PlayMode )
|
switch( GAMESTATE->m_PlayMode )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user