aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/actor.cpp
diff options
context:
space:
mode:
authorTobias Gunkel2012-02-10 23:39:07 +0100
committerTobias Gunkel2012-02-11 08:36:35 +0100
commit67d67ec4f6c867fab9ef5ff6f40c1f6144f0f77f (patch)
tree49cf4789cf9c8788595a2abf7fe2c4330367df21 /engines/scumm/actor.cpp
parent4922055063b0a72069ffdbbe9e95c5b11f47bd71 (diff)
downloadscummvm-rg350-67d67ec4f6c867fab9ef5ff6f40c1f6144f0f77f.tar.gz
scummvm-rg350-67d67ec4f6c867fab9ef5ff6f40c1f6144f0f77f.tar.bz2
scummvm-rg350-67d67ec4f6c867fab9ef5ff6f40c1f6144f0f77f.zip
SCUMM: replaced A with a0 to avoid upper-case local vars
Diffstat (limited to 'engines/scumm/actor.cpp')
-rw-r--r--engines/scumm/actor.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 9e1b91c338..07c439043f 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -1633,23 +1633,23 @@ void ScummEngine::processActors() {
if (_game.version == 0) {
// 0x057B
- Actor_v0 *A = (Actor_v0*) a;
- if (A->_speaking & 1)
- A->_speaking ^= 0xFE;
+ Actor_v0 *a0 = (Actor_v0*) a;
+ if (a0->_speaking & 1)
+ a0->_speaking ^= 0xFE;
// 0x22B5
- if (A->_miscflags & kActorMiscFlagHide)
+ if (a0->_miscflags & kActorMiscFlagHide)
continue;
// Sound
- if (A->_moving && _currentRoom != 1 && _currentRoom != 44) {
- if (A->_cost.soundPos == 0)
- A->_cost.soundCounter++;
+ if (a0->_moving && _currentRoom != 1 && _currentRoom != 44) {
+ if (a0->_cost.soundPos == 0)
+ a0->_cost.soundCounter++;
// Is this the correct location?
// 0x073C
- if (v0ActorTalkArray[A->_number] & 0x3F)
- A->_cost.soundPos = (A->_cost.soundPos + 1) % 3;
+ if (v0ActorTalkArray[a0->_number] & 0x3F)
+ a0->_cost.soundPos = (a0->_cost.soundPos + 1) % 3;
}
}
// Draw and animate the actors, except those w/o a costume.