aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorMax Horn2003-07-24 17:44:00 +0000
committerMax Horn2003-07-24 17:44:00 +0000
commitbecd70d243d456af9595ae0cc37e72b1489736c5 (patch)
treef37f054d6b2808b9cd7d4241dbb7a0b0ccc2acbe /scumm/script_v8.cpp
parentbe7597a8c9e406f798b0ebcea7c131825366582b (diff)
downloadscummvm-rg350-becd70d243d456af9595ae0cc37e72b1489736c5.tar.gz
scummvm-rg350-becd70d243d456af9595ae0cc37e72b1489736c5.tar.bz2
scummvm-rg350-becd70d243d456af9595ae0cc37e72b1489736c5.zip
cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)
svn-id: r9175
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index f7db60fcd3..72a3e3a4f1 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -959,8 +959,7 @@ void Scumm_v8::o8_actorOps() {
a->standFrame = pop();
break;
case 0x6C: // SO_ACTOR_ANIMATION_SPEED Set speed of animation
- a->animSpeed = pop();
- a->animProgress = 0;
+ a->setAnimSpeed(pop());
break;
case 0x6D: // SO_ACTOR_DEFAULT
// FIXME - is this right? Or maybe a->initActor(2) ?