diff options
-rw-r--r-- | engines/lure/hotspots.cpp | 1 | ||||
-rw-r--r-- | engines/lure/scripts.cpp | 2 |
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); |