diff options
author | Paul Gilbert | 2007-09-16 04:31:15 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-09-16 04:31:15 +0000 |
commit | 0a7a1f42838117defd6062ab8aa251a4ba80eab2 (patch) | |
tree | 6d0ae39039018c5a6000835777e7cda19ffe23aa | |
parent | 990e9a782891ce5510aa04f7d3b93f1b79504ac0 (diff) | |
download | scummvm-rg350-0a7a1f42838117defd6062ab8aa251a4ba80eab2.tar.gz scummvm-rg350-0a7a1f42838117defd6062ab8aa251a4ba80eab2.tar.bz2 scummvm-rg350-0a7a1f42838117defd6062ab8aa251a4ba80eab2.zip |
Bugfix to prevent actions being paused sometimes
svn-id: r28919
-rw-r--r-- | engines/lure/hotspots.cpp | 2 |
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() { |