add comment

This commit is contained in:
Chris Danford
2004-03-13 17:38:26 +00:00
parent a4f72adc3d
commit 5bb3804be8
+3
View File
@@ -117,8 +117,11 @@ void ScreenPlayerOptions::Input( const DeviceInput& DeviceI, const InputEventTyp
if( CodeDetector::EnteredCode(GameI.controller,CodeDetector::CODE_CANCEL_ALL_PLAYER_OPTIONS) )
{
SOUND->PlayOnce( THEME->GetPathToS("ScreenPlayerOptions cancel all") );
// apply the game default mods, but not the Profile saved mods
GAMESTATE->m_PlayerOptions[pn].Init();
GAMESTATE->m_PlayerOptions[pn].FromString( PREFSMAN->m_sDefaultModifiers );
this->ImportOptions();
this->PositionUnderlines();
}