aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-12 08:44:57 -0400
committerPaul Gilbert2014-03-12 08:44:57 -0400
commit98f7ba964369b128f65755c918f4c5e6d1d16dbe (patch)
treec069afc4e5a719e8e355e152a07d0a397206c69e
parent709fcc6fac4e1449064c4ddd5de3c443d0290c93 (diff)
downloadscummvm-rg350-98f7ba964369b128f65755c918f4c5e6d1d16dbe.tar.gz
scummvm-rg350-98f7ba964369b128f65755c918f4c5e6d1d16dbe.tar.bz2
scummvm-rg350-98f7ba964369b128f65755c918f4c5e6d1d16dbe.zip
MADS: Fix definition/loading of animation frame change data
-rw-r--r--engines/mads/animation.cpp3
-rw-r--r--engines/mads/animation.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp
index 2117ae2068..ec043a3079 100644
--- a/engines/mads/animation.cpp
+++ b/engines/mads/animation.cpp
@@ -127,8 +127,7 @@ void AnimMiscEntry::load(Common::SeekableReadStream *f) {
_numTicks = f->readUint16LE();
_posAdjust.x = f->readSint16LE();
_posAdjust.y = f->readSint16LE();
- _scrollPos.x = f->readSint16LE();
- _scrollPos.y = f->readSint16LE();
+ _field8 = f->readUint16LE();
}
/*------------------------------------------------------------------------*/
diff --git a/engines/mads/animation.h b/engines/mads/animation.h
index ca04e86ed6..492fb9dbe4 100644
--- a/engines/mads/animation.h
+++ b/engines/mads/animation.h
@@ -72,7 +72,7 @@ public:
int _msgIndex;
int _numTicks;
Common::Point _posAdjust;
- Common::Point _scrollPos;
+ int _field8;
/**
* Loads data for the record