From 2f2af69f69a9924676cb07a46d9ee4260a6fdbd1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 9 May 2007 17:29:55 +0000 Subject: [PATCH] allow gameplay debug keys on any page --- stepmania/src/ScreenDebugOverlay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenDebugOverlay.cpp b/stepmania/src/ScreenDebugOverlay.cpp index 918e552a68..b1bf25645f 100644 --- a/stepmania/src/ScreenDebugOverlay.cpp +++ b/stepmania/src/ScreenDebugOverlay.cpp @@ -392,8 +392,6 @@ bool ScreenDebugOverlay::OverlayInput( const InputEventPlus &input ) FOREACH_CONST( IDebugLine*, *g_pvpSubscribers, p ) { RString sPageName = (*p)->GetPageName(); - if( sPageName != GetCurrentPageName() ) - continue; int i = p-g_pvpSubscribers->begin(); @@ -404,6 +402,8 @@ bool ScreenDebugOverlay::OverlayInput( const InputEventPlus &input ) case IDebugLine::all_screens: if( !g_bIsDisplayed ) continue; + if( sPageName != GetCurrentPageName() ) + continue; break; case IDebugLine::gameplay_only: if( !IsGameplay() )