aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorMax Horn2003-03-08 02:06:56 +0000
committerMax Horn2003-03-08 02:06:56 +0000
commit6316f83c93b1494d6390e5faa9a388dfd36aa7bf (patch)
tree7b034f029615a4a0973f81a176bca24360d3bb2f /scumm/script_v8.cpp
parentc7399601760e8658ed0ae52acdda980c29550db3 (diff)
downloadscummvm-rg350-6316f83c93b1494d6390e5faa9a388dfd36aa7bf.tar.gz
scummvm-rg350-6316f83c93b1494d6390e5faa9a388dfd36aa7bf.tar.bz2
scummvm-rg350-6316f83c93b1494d6390e5faa9a388dfd36aa7bf.zip
new constant MF_FROZEN; fixed actor unfreeze code
svn-id: r6764
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index ad1f4e8330..349528d679 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -1155,10 +1155,10 @@ void Scumm_v8::o8_actorOps() {
a->talk_script = pop();
break;
case 0x85: // SO_ACTOR_WALK_PAUSE
- a->moving |= 0x80;
+ a->moving |= MF_FROZEN;
break;
case 0x86: // SO_ACTOR_WALK_RESUME
- a->moving &= ~0x7f;
+ a->moving &= ~MF_FROZEN;
break;
case 0x87: // SO_ACTOR_VOLUME Set volume of actor speech
// TODO - implement this!