aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2015-11-18 13:05:51 +0100
committerStrangerke2015-11-18 13:05:51 +0100
commitf0d17d2c061dd2d4648e501d8f0caf8fd3ad7f73 (patch)
tree67fd4b6e460938da187875aa40fa6a0ba9ad7044
parent0b2c269d8685378a475fe8d80f9380956b86f62f (diff)
downloadscummvm-rg350-f0d17d2c061dd2d4648e501d8f0caf8fd3ad7f73.tar.gz
scummvm-rg350-f0d17d2c061dd2d4648e501d8f0caf8fd3ad7f73.tar.bz2
scummvm-rg350-f0d17d2c061dd2d4648e501d8f0caf8fd3ad7f73.zip
MADS: Remove obsolete comment and add debug trace in animation code
-rw-r--r--engines/mads/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp
index 429c5669a9..605c63e91d 100644
--- a/engines/mads/animation.cpp
+++ b/engines/mads/animation.cpp
@@ -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))
@@ -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;