aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/hotspots.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2007-09-16 04:31:15 +0000
committerPaul Gilbert2007-09-16 04:31:15 +0000
commit0a7a1f42838117defd6062ab8aa251a4ba80eab2 (patch)
tree6d0ae39039018c5a6000835777e7cda19ffe23aa /engines/lure/hotspots.cpp
parent990e9a782891ce5510aa04f7d3b93f1b79504ac0 (diff)
downloadscummvm-rg350-0a7a1f42838117defd6062ab8aa251a4ba80eab2.tar.gz
scummvm-rg350-0a7a1f42838117defd6062ab8aa251a4ba80eab2.tar.bz2
scummvm-rg350-0a7a1f42838117defd6062ab8aa251a4ba80eab2.zip
Bugfix to prevent actions being paused sometimes
svn-id: r28919
Diffstat (limited to 'engines/lure/hotspots.cpp')
-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() {