replace ASSERT(0) with useful fail messages
This commit is contained in:
@@ -142,9 +142,8 @@ bool ScreenPrompt::CanGoRight()
|
||||
case PROMPT_YES_NO_CANCEL:
|
||||
return m_Answer < ANSWER_CANCEL;
|
||||
default:
|
||||
ASSERT(0);
|
||||
FAIL_M(ssprintf("Invalid PromptType: %i", g_PromptType));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void ScreenPrompt::Change( int dir )
|
||||
|
||||
Reference in New Issue
Block a user