replace ASSERT(0) with useful fail messages

This commit is contained in:
Devin J. Pohly
2012-12-27 16:59:35 -05:00
parent 376056a0cf
commit bd0e2074ad
71 changed files with 289 additions and 245 deletions
+1 -1
View File
@@ -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 )