aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/script_v0.cpp
diff options
context:
space:
mode:
authorsegrax2012-01-21 17:50:55 +1100
committerTobias Gunkel2012-02-11 08:29:02 +0100
commita999aa39ba4963b8c31b1db81f73bdc04e9b4772 (patch)
treec6efc978272b2445e0e26457caeeb411a36d2f26 /engines/scumm/script_v0.cpp
parente331421eae305fe857c1b630d5764e35635eaa7e (diff)
downloadscummvm-rg350-a999aa39ba4963b8c31b1db81f73bdc04e9b4772.tar.gz
scummvm-rg350-a999aa39ba4963b8c31b1db81f73bdc04e9b4772.tar.bz2
scummvm-rg350-a999aa39ba4963b8c31b1db81f73bdc04e9b4772.zip
SCUMM: Re-arrange some things to make it closer to the original
Diffstat (limited to 'engines/scumm/script_v0.cpp')
-rw-r--r--engines/scumm/script_v0.cpp23
1 files changed, 12 insertions, 11 deletions
diff --git a/engines/scumm/script_v0.cpp b/engines/scumm/script_v0.cpp
index ec3cad009d..e277480aed 100644
--- a/engines/scumm/script_v0.cpp
+++ b/engines/scumm/script_v0.cpp
@@ -672,19 +672,20 @@ void ScummEngine_v0::o_animateActor() {
a->_byte_FDE8 = unk;
switch( anim ) {
- case 0xFE:
- // 0x6993
- a->_speaking = 0x80; // Enabled, but not switching
- return;
- case 0xFD:
- // 0x69A3
- a->_speaking = 0x00;
- return;
+ case 0xFE:
+ // 0x6993
+ a->_speaking = 0x80; // Enabled, but not switching
+ return;
+
+ case 0xFD:
+ // 0x69A3
+ a->_speaking = 0x00;
+ return;
- case 0xFF:
- a->stopActorMoving();
- return;
+ case 0xFF:
+ a->stopActorMoving();
+ return;
}
a->animateActor(anim);