From 324ba3703b73f6b4f3ddf43c5670ceb48c3b5daf Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 14 Jul 2009 10:55:51 +0000 Subject: Bugfix to cursor updates - it previously required that both X and Y positions had changed before a cursor change could occur svn-id: r42472 --- engines/cruise/cruise_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/cruise') diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp index 711f7bdf94..862cda592e 100644 --- a/engines/cruise/cruise_main.cpp +++ b/engines/cruise/cruise_main.cpp @@ -1906,7 +1906,7 @@ void CruiseEngine::mainLoop(void) { getMouseStatus(&main10, &mouseX, &mouseButton, &mouseY); - if (mouseX != oldMouseX && mouseY != oldMouseY) { + if (mouseX != oldMouseX || mouseY != oldMouseY) { int objectType; int newCursor1; int newCursor2; -- cgit v1.2.3