aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/costume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/costume.cpp')
-rw-r--r--engines/scumm/costume.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/costume.cpp b/engines/scumm/costume.cpp
index 41bceb8e5d..9bf4ee0cdc 100644
--- a/engines/scumm/costume.cpp
+++ b/engines/scumm/costume.cpp
@@ -1423,6 +1423,12 @@ byte C64CostumeLoader::increaseAnims(Actor *a) {
frameUpdate(A, cmd);
}
+ if (A->_moving && _vm->_currentRoom != 1 && _vm->_currentRoom != 44) {
+ if (a->_cost.soundPos == 0)
+ a->_cost.soundCounter++;
+ a->_cost.soundPos = (a->_cost.soundPos + 1) % 3;
+ }
+
// increase each frame pos
for (int limb = 0; limb < 8; ++limb) {
if (a->_cost.curpos[limb] < a->_cost.end[limb])