aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/hotspots.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index fbd5bc3437..65f20ca671 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -70,6 +70,7 @@ Hotspot::Hotspot(HotspotData *res): _pathFinder(this) {
_hotspotScriptOffset = res->hotspotScriptOffset;
_tickCtr = res->tickTimeout;
_colourOffset = res->colourOffset;
+ _tempDest.counter = 0;
_override = resources.getHotspotOverride(res->hotspotId);
setAnimation(_data->animRecordId);
@@ -197,6 +198,7 @@ Hotspot::Hotspot(): _pathFinder(NULL) {
_tickHandler = NULL;
_frameWidth = _width;
_frameStartsUsed = false;
+ _tempDest.counter = 0;
}
Hotspot::~Hotspot() {