From b3884dbb01595b2eb7109663bac7c191efbb1cb6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 15 Mar 2006 21:41:26 +0000 Subject: [PATCH] cleanup (and don't ignore m_Cancel) --- stepmania/src/ScreenEnding.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/ScreenEnding.cpp b/stepmania/src/ScreenEnding.cpp index 0f69dc040a..853da24ef0 100644 --- a/stepmania/src/ScreenEnding.cpp +++ b/stepmania/src/ScreenEnding.cpp @@ -119,8 +119,7 @@ void ScreenEnding::Init() void ScreenEnding::Input( const InputEventPlus &input ) { - bool bIsTransitioning = m_In.IsTransitioning() || m_Out.IsTransitioning(); - if( input.MenuI.IsValid() && !bIsTransitioning ) + if( input.MenuI.IsValid() && !IsTransitioning() ) { switch( input.MenuI.button ) {