aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/actor.cpp
diff options
context:
space:
mode:
authorsegrax2012-01-17 20:03:52 +1100
committerTobias Gunkel2012-02-11 08:28:51 +0100
commitcbae5c79b702494dd30abb9504767029fba065ae (patch)
tree70795c9c622ab3545929230049918a84dd90ac1e /engines/scumm/actor.cpp
parent347035385e3608c3107db7b9cba0673ce9e03a22 (diff)
downloadscummvm-rg350-cbae5c79b702494dd30abb9504767029fba065ae.tar.gz
scummvm-rg350-cbae5c79b702494dd30abb9504767029fba065ae.tar.bz2
scummvm-rg350-cbae5c79b702494dd30abb9504767029fba065ae.zip
SCUMM: Change vars to ints, remove unused variable for now
Diffstat (limited to 'engines/scumm/actor.cpp')
-rw-r--r--engines/scumm/actor.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 950f580f42..e703c55192 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -866,8 +866,7 @@ void Actor::setDirection(int direction) {
_vm->_costumeLoader->costumeDecodeData(this, _standFrame, 0);
// 0x2C17
-
- ((ActorC64*) this)->_byte_FD0A = 0xFF;
+ ((ActorC64*) this)->_byte_FD0A = -1;
_needRedraw = true;
return;
@@ -2653,7 +2652,7 @@ void ActorC64::animateActor(int anim) {
if( this->isInCurrentRoom() ) {
- this->_costCommandNew = anim;
+ // this->_costCommandNew = anim;
this->_byte_FD0A = this->_byte_FDE8;
// 0x273A