allow gameplay debug keys on any page

This commit is contained in:
Glenn Maynard
2007-05-09 17:29:55 +00:00
parent 538327e7f3
commit 2f2af69f69
+2 -2
View File
@@ -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() )