From 54a170978ad481a142829997f0d27076033b3a5b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 22 May 2009 22:28:06 +0000 Subject: Handle mouse move events like the original. svn-id: r40791 --- engines/kyra/kyra_v1.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'engines/kyra/kyra_v1.cpp') diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp index 6106efdf9c..7e98c1be80 100644 --- a/engines/kyra/kyra_v1.cpp +++ b/engines/kyra/kyra_v1.cpp @@ -324,12 +324,6 @@ int KyraEngine_v1::checkInput(Button *buttonList, bool mainLoop) { } break; - case Common::EVENT_MOUSEMOVE: { - Common::Point pos = getMousePos(); - _mouseX = pos.x; - _mouseY = pos.y; - } break; - case Common::EVENT_LBUTTONDOWN: case Common::EVENT_LBUTTONUP: { Common::Point pos = getMousePos(); @@ -407,7 +401,7 @@ void KyraEngine_v1::updateInput() { case Common::EVENT_MOUSEMOVE: if (screen()->isMouseVisible()) updateScreen = true; - // fall through + break; case Common::EVENT_LBUTTONUP: case Common::EVENT_RBUTTONUP: -- cgit v1.2.3