From 8f3b2e9b4d9f1f82682e1eed018153091cddee9f Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Sat, 29 Nov 2008 18:01:16 +0000 Subject: Remove warnings from NDS build. svn-id: r35172 --- engines/lure/hotspots.cpp | 2 +- engines/lure/menu.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/lure') diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp index 57863c0feb..8c9a20ba7e 100644 --- a/engines/lure/hotspots.cpp +++ b/engines/lure/hotspots.cpp @@ -728,7 +728,7 @@ void Hotspot::updateMovement2(CharacterMode value) { } void Hotspot::resetPosition() { - setPosition(x() & 0xf8 | 5, y()); + setPosition((x() & 0xf8) | 5, y()); setDirection(direction()); } diff --git a/engines/lure/menu.cpp b/engines/lure/menu.cpp index 112e6116a2..5027e6967e 100644 --- a/engines/lure/menu.cpp +++ b/engines/lure/menu.cpp @@ -480,10 +480,10 @@ uint16 PopupMenu::Show(int numEntries, const char *actions[]) { byte whiteColour = isEGA ? EGA_DIALOG_WHITE_COLOUR : VGA_DIALOG_WHITE_COLOUR; - uint16 oldX = mouse.x(); - uint16 oldY = mouse.y(); const uint16 yMiddle = FULL_SCREEN_HEIGHT / 2; #ifndef LURE_CLICKABLE_MENUS + uint16 oldX = mouse.x(); + uint16 oldY = mouse.y(); mouse.cursorOff(); mouse.setPosition(FULL_SCREEN_WIDTH / 2, yMiddle); -- cgit v1.2.3