Skip to content

Commit

Permalink
SCUMM: Remove unused variable, remove old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
segrax authored and tobigun committed Feb 11, 2012
1 parent 9ba01d0 commit c6688cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions engines/scumm/costume.cpp
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;

Expand Down
2 changes: 0 additions & 2 deletions engines/scumm/costume.h
Expand Up @@ -76,8 +76,6 @@ class C64CostumeLoader : public ClassicCostumeLoader {

byte getFrame( ActorC64 *A );

int _maxHeight;

protected:

};
Expand Down

0 comments on commit c6688cf

Please sign in to comment.