diff options
author | Robin Watts | 2008-11-29 18:01:16 +0000 |
---|---|---|
committer | Robin Watts | 2008-11-29 18:01:16 +0000 |
commit | 8f3b2e9b4d9f1f82682e1eed018153091cddee9f (patch) | |
tree | f2af64fa467e70a3ba25e9c615baa053e0818d88 /engines/lure | |
parent | 362bdf87d78f611f3e308e7e9234831208b93d68 (diff) | |
download | scummvm-rg350-8f3b2e9b4d9f1f82682e1eed018153091cddee9f.tar.gz scummvm-rg350-8f3b2e9b4d9f1f82682e1eed018153091cddee9f.tar.bz2 scummvm-rg350-8f3b2e9b4d9f1f82682e1eed018153091cddee9f.zip |
Remove warnings from NDS build.
svn-id: r35172
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/hotspots.cpp | 2 | ||||
-rw-r--r-- | engines/lure/menu.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
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); |