replace ASSERT(0) with useful fail messages
This commit is contained in:
+1
-1
@@ -690,7 +690,7 @@ void GameCommand::ApplySelf( const vector<PlayerNumber> &vpns ) const
|
||||
}
|
||||
break;
|
||||
default:
|
||||
ASSERT(0);
|
||||
FAIL_M(ssprintf("Invalid StyleType: %i", m_pStyle->m_StyleType));
|
||||
}
|
||||
}
|
||||
if( m_dc != Difficulty_Invalid )
|
||||
|
||||
Reference in New Issue
Block a user