War on -Werror, part 14: More hodgepodge.
This commit is contained in:
@@ -335,7 +335,7 @@ void ScreenOptionsEditCourse::ExportOptions( int iRow, const vector<PlayerNumber
|
||||
if( pSong )
|
||||
{
|
||||
Steps *pSteps = this->GetStepsForEntry( iEntryIndex );
|
||||
ASSERT_M( pSteps, "No Steps for this Song!" );
|
||||
ASSERT_M( pSteps != NULL, "No Steps for this Song!" );
|
||||
CourseEntry ce;
|
||||
ce.songID.FromSong( pSong );
|
||||
ce.stepsCriteria.m_difficulty = pSteps->GetDifficulty();
|
||||
@@ -412,7 +412,7 @@ void ScreenOptionsEditCourse::SetCurrentSteps()
|
||||
OptionRow &row = *m_pRows[ EntryIndexAndRowTypeToRow(iEntryIndex, RowType_Steps) ];
|
||||
int iStepsIndex = row.GetOneSharedSelection();
|
||||
const EditCourseOptionRowHandlerSteps *pHand = dynamic_cast<const EditCourseOptionRowHandlerSteps *>( row.GetHandler() );
|
||||
ASSERT( pHand );
|
||||
ASSERT( pHand != NULL );
|
||||
Steps *pSteps = pHand->GetSteps( iStepsIndex );
|
||||
GAMESTATE->m_pCurSteps[PLAYER_1].Set( pSteps );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user