diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/costume.cpp | 5 | ||||
-rw-r--r-- | engines/scumm/costume.h | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/engines/scumm/costume.cpp b/engines/scumm/costume.cpp index 3bb62c2de5..e3a2203adc 100644 --- a/engines/scumm/costume.cpp +++ b/engines/scumm/costume.cpp @@ -1280,8 +1280,6 @@ void C64CostumeLoader::loadCostume(int id) { _frameOffsets = _baseptr + READ_LE_UINT16(ptr + 5); _dataOffsets = ptr; _animCmds = _baseptr + READ_LE_UINT16(ptr + 7); - - _maxHeight = 0; } void C64CostumeLoader::costumeDecodeData(Actor *a, int frame, uint usemask) { @@ -1314,7 +1312,8 @@ void C64CostumeLoader::costumeDecodeData(Actor *a, int frame, uint usemask) { continue; // Store the limb frame number (clear the flipped status) - a->_cost.frame[limb] = (limbFrameNumber & 0x7f); // limb animation-frames ptr + a->_cost.frame[limb] = (limbFrameNumber & 0x7f); + if( A->_limb_flipped[limb] != true ) a->_cost.start[limb] = 0xFFFF; diff --git a/engines/scumm/costume.h b/engines/scumm/costume.h index 38e21d586f..4600cc5670 100644 --- a/engines/scumm/costume.h +++ b/engines/scumm/costume.h @@ -76,8 +76,6 @@ public: byte getFrame( ActorC64 *A ); - int _maxHeight; - protected: }; |