fix warnings

This commit is contained in:
Glenn Maynard
2003-11-14 17:10:46 +00:00
parent 84dd35ba23
commit e6c9afc74a
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -1267,7 +1267,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
case SM_BackFromInsertAttack:
{
int iDurationChoice = ScreenMiniMenu::s_iLastAnswers[0];
g_fLastInsertAttackDurationSeconds = atof( g_InsertAttackItems[0].choices[iDurationChoice] );
g_fLastInsertAttackDurationSeconds = (float) atof( g_InsertAttackItems[0].choices[iDurationChoice] );
GAMESTATE->StoreSelectedOptions(); // save so that we don't lose the options chosen for edit and playback
SCREENMAN->AddNewScreenToTop( "ScreenPlayerOptions", SM_BackFromInsertAttackModifiers );
}