From 5bb3804be81e8ad412725f2ae2500f38b2591856 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 13 Mar 2004 17:38:26 +0000 Subject: [PATCH] add comment --- stepmania/src/ScreenPlayerOptions.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/ScreenPlayerOptions.cpp b/stepmania/src/ScreenPlayerOptions.cpp index 2e09c96a70..6caa957e58 100644 --- a/stepmania/src/ScreenPlayerOptions.cpp +++ b/stepmania/src/ScreenPlayerOptions.cpp @@ -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(); }