From 9c9e2f995f7ae31499595af95eef1747799ccd20 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Sat, 12 Jan 2013 23:08:38 -0500 Subject: [PATCH] just call Input from OverlayInput --- src/Screen.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/Screen.cpp b/src/Screen.cpp index d9972ae849..4eb116f9aa 100644 --- a/src/Screen.cpp +++ b/src/Screen.cpp @@ -175,15 +175,9 @@ void Screen::Update( float fDeltaTime ) * function. */ bool Screen::OverlayInput( const InputEventPlus &input ) { - // Allow overlays to respond to codes - Message msg(""); - if( m_Codes.InputMessage(input, msg) ) - { - this->HandleMessage( msg ); - return true; - } - - return false; + // XXX Eventually merge this function with Input() once the necessary + // changes are made in ScreenManager. + return this->Input(input); } /* Returns true if the input was handled, or false if not handled. */