aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2011-11-03 00:20:10 +0000
committerEugene Sandulenko2011-11-03 00:20:10 +0000
commitb3cad044500c816c6a7a84dd94a2beb15530cb9c (patch)
treeefeb0356ebf4c690ca1c6af67b22d07c50249b6e
parent07163c76c938b40dc19212e7bfa19b1d63699d2d (diff)
downloadscummvm-rg350-b3cad044500c816c6a7a84dd94a2beb15530cb9c.tar.gz
scummvm-rg350-b3cad044500c816c6a7a84dd94a2beb15530cb9c.tar.bz2
scummvm-rg350-b3cad044500c816c6a7a84dd94a2beb15530cb9c.zip
LURE: Fix warnings
-rw-r--r--engines/lure/hotspots.cpp1
-rw-r--r--engines/lure/scripts.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index 96e5e088ab..207c125a0c 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -179,7 +179,6 @@ Hotspot::Hotspot(): _pathFinder(NULL) {
_walkFlag = false;
_skipFlag = false;
_roomNumber = 0;
- _destHotspotId = 0;
_startX = 0;
_startY = 0;
_destX = 0;
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp
index 22656dd3fe..df2f06df96 100644
--- a/engines/lure/scripts.cpp
+++ b/engines/lure/scripts.cpp
@@ -499,7 +499,7 @@ void Script::fixGoewin(uint16 v1, uint16 v2, uint16 v3) {
hotspot->currentActions().clear();
hotspot->currentActions().addFront(DISPATCH_ACTION, entry, hotspot->roomNumber());
- hotspot->setActions(hotspot->resource()->actions & !(1 << (TELL - 1)));
+ hotspot->setActions(hotspot->resource()->actions & ~(1 << (TELL - 1)));
hotspot->setActionCtr(0);
hotspot->setDelayCtr(0);
hotspot->setCharacterMode(CHARMODE_NONE);