SCUMM: Change vars to ints, remove unused variable for now

This commit is contained in:
segrax 2012-01-17 20:03:52 +11:00 committed by Tobias Gunkel
parent 347035385e
commit cbae5c79b7
3 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -348,14 +348,13 @@ enum ActorC64MiscFlags {
class ActorC64 : public Actor_v2 {
public:
byte _costCommandNew;
byte _costCommand, _costFrame;
byte _miscflags;
byte _speaking, _speakingPrev;
byte _byte_FDE8;
int8 _byte_FDE8;
int8 _byte_FD0A;
byte _byte_FCE2[8];
int8 _byte_FCE2[8];
public:

View File

@ -1464,7 +1464,7 @@ byte C64CostumeLoader::increaseAnims(Actor *a) {
// 0x2556
--a->_cost.curpos[limb];
A->_costCommandNew = 0xFF;
//A->_costCommandNew = 0xFF;
//A->_costCommand = 0xFF;
// 0x2568