From 79fefa50650ac0c3c189970272343d81d3c441d5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 1 May 2007 19:12:05 +0000 Subject: [PATCH] remove unused GivingUpGoesToNextScreen --- stepmania/src/ScreenGameplay.cpp | 7 ------- stepmania/src/ScreenGameplay.h | 1 - 2 files changed, 8 deletions(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 24ca37d32e..06a691d539 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -344,7 +344,6 @@ void ScreenGameplay::Init() START_GIVES_UP.Load( m_sName, "StartGivesUp" ); BACK_GIVES_UP.Load( m_sName, "BackGivesUp" ); GIVING_UP_GOES_TO_PREV_SCREEN.Load( m_sName, "GivingUpGoesToPrevScreen" ); - GIVING_UP_GOES_TO_NEXT_SCREEN.Load( m_sName, "GivingUpGoesToNextScreen" ); FAIL_AFTER_30_MISSES.Load( m_sName, "FailAfter30Misses" ); ALLOW_CENTER_1_PLAYER.Load( m_sName, "AllowCenter1Player" ); @@ -1761,12 +1760,6 @@ void ScreenGameplay::Update( float fDeltaTime ) if( GIVING_UP_GOES_TO_PREV_SCREEN ) { BeginBackingOutFromGameplay(); - - } - else if( GIVING_UP_GOES_TO_NEXT_SCREEN ) - { - HandleScreenMessage( SM_LeaveGameplay ); - return; } else { diff --git a/stepmania/src/ScreenGameplay.h b/stepmania/src/ScreenGameplay.h index cbf5ae0fb0..fea93a7046 100644 --- a/stepmania/src/ScreenGameplay.h +++ b/stepmania/src/ScreenGameplay.h @@ -145,7 +145,6 @@ protected: ThemeMetric START_GIVES_UP; ThemeMetric BACK_GIVES_UP; ThemeMetric GIVING_UP_GOES_TO_PREV_SCREEN; - ThemeMetric GIVING_UP_GOES_TO_NEXT_SCREEN; ThemeMetric FAIL_AFTER_30_MISSES; ThemeMetric ALLOW_CENTER_1_PLAYER;