mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
SCUMM: Change vars to ints, remove unused variable for now
This commit is contained in:
parent
347035385e
commit
cbae5c79b7
@ -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
|
||||
|
@ -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:
|
||||
|
@ -1464,7 +1464,7 @@ byte C64CostumeLoader::increaseAnims(Actor *a) {
|
||||
// 0x2556
|
||||
--a->_cost.curpos[limb];
|
||||
|
||||
A->_costCommandNew = 0xFF;
|
||||
//A->_costCommandNew = 0xFF;
|
||||
//A->_costCommand = 0xFF;
|
||||
|
||||
// 0x2568
|
||||
|
Loading…
Reference in New Issue
Block a user