aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/hotspots.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2007-11-12 10:30:23 +0000
committerPaul Gilbert2007-11-12 10:30:23 +0000
commit16a4708adc7a3606984c362ba5ca516286336e2b (patch)
tree776a2e0a9ac1bd655f335ec5c267e55d1240f1e1 /engines/lure/hotspots.cpp
parent7bf1b77f3c700cd6b791adf8e10173f889af47fa (diff)
downloadscummvm-rg350-16a4708adc7a3606984c362ba5ca516286336e2b.tar.gz
scummvm-rg350-16a4708adc7a3606984c362ba5ca516286336e2b.tar.bz2
scummvm-rg350-16a4708adc7a3606984c362ba5ca516286336e2b.zip
Set Catriona to her correct rocking speed
svn-id: r29483
Diffstat (limited to 'engines/lure/hotspots.cpp')
-rw-r--r--engines/lure/hotspots.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index fd2344772e..e6a6171677 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -3196,7 +3196,8 @@ void HotspotTickHandlers::catrionaAnimHandler(Hotspot &h) {
h.decrFrameCtr();
} else {
h.executeScript();
- h.setFrameCtr(h.actionCtr());
+ int delayVal = (h.actionCtr() == 0) ? 5 : h.actionCtr();
+ h.setFrameCtr(delayVal);
}
}