aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/scripts.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2007-11-07 09:39:48 +0000
committerPaul Gilbert2007-11-07 09:39:48 +0000
commit9fc974209badbbae8508ccf05c2b9d3aeeeab75a (patch)
tree71fd0ca42a50a963a9514acb5325a8a684d5fac9 /engines/lure/scripts.cpp
parent1a82b2630d09f4df024e71dc85e294687b8c042d (diff)
downloadscummvm-rg350-9fc974209badbbae8508ccf05c2b9d3aeeeab75a.tar.gz
scummvm-rg350-9fc974209badbbae8508ccf05c2b9d3aeeeab75a.tar.bz2
scummvm-rg350-9fc974209badbbae8508ccf05c2b9d3aeeeab75a.zip
Bugfix for NPC conversations so they'll only stand still when they should, and pause correctly during scripted animations
svn-id: r29445
Diffstat (limited to 'engines/lure/scripts.cpp')
-rw-r--r--engines/lure/scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp
index 38e577d2d6..8751ec181d 100644
--- a/engines/lure/scripts.cpp
+++ b/engines/lure/scripts.cpp
@@ -1174,7 +1174,7 @@ bool HotspotScript::execute(Hotspot *h) {
param1 = nextVal(scriptData, offset);
debugC(ERROR_DETAILED, kLureDebugScripts, "SET FRAME_CTR = %d", param1);
- h->setTickCtr(param1);
+ h->setFrameCtr(param1);
h->setHotspotScript(offset);
breakFlag = true;
break;