Skip to content

Commit

Permalink
MADS: Remove obsolete comment and add debug trace in animation code
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Nov 18, 2015
1 parent 0b2c269 commit f0d17d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/mads/animation.cpp
Expand Up @@ -377,6 +377,7 @@ void Animation::loadFrame(int frameNumber) {
pt.x = _unkList[_unkIndex].x;
pt.y = _unkList[_unkIndex].y;
_unkIndex = 1 - _unkIndex;
warning("LoadFrame - Using unknown array");
}

if (drawFrame(spriteSet, pt, frameNumber))
Expand Down Expand Up @@ -468,7 +469,6 @@ void Animation::update() {
bool isV2 = (_vm->getGameID() != GType_RexNebular);
if (isV2 && _canChangeView) {
// Handle any offset adjustment for sprites as of this frame
// FIXME: This doesn't work properly for Phantom scene 101
bool paChanged = false;
if (getFramePosAdjust(_currentFrame).x != scene._posAdjust.x) {
scene._posAdjust.x = getFramePosAdjust(_currentFrame).x;
Expand Down

0 comments on commit f0d17d2

Please sign in to comment.