diff options
author | David Eriksson | 2003-11-06 21:15:35 +0000 |
---|---|---|
committer | David Eriksson | 2003-11-06 21:15:35 +0000 |
commit | 92824087945d8a4c64492f64f081fa98876a38ca (patch) | |
tree | be6a9a185b1b0bb2504c8472c9eff676030fae38 | |
parent | 3769398474b8cd537b800b720c962e7190366b5e (diff) | |
download | scummvm-rg350-92824087945d8a4c64492f64f081fa98876a38ca.tar.gz scummvm-rg350-92824087945d8a4c64492f64f081fa98876a38ca.tar.bz2 scummvm-rg350-92824087945d8a4c64492f64f081fa98876a38ca.zip |
Bug fix for non-quittable cutaways.
svn-id: r11166
-rw-r--r-- | queen/cutaway.cpp | 2 | ||||
-rw-r--r-- | queen/cutaway.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp index cf24ea5162..d4c43a45f9 100644 --- a/queen/cutaway.cpp +++ b/queen/cutaway.cpp @@ -100,7 +100,7 @@ void Cutaway::load(const char *filename) { _comPanel = READ_BE_UINT16(ptr); ptr += 2; - _cutawayObjectCount = READ_BE_UINT16(ptr); + _cutawayObjectCount = (int16)READ_BE_UINT16(ptr); ptr += 2; debug(0, "_cutawayObjectCount = %i", _cutawayObjectCount); diff --git a/queen/cutaway.h b/queen/cutaway.h index 1ae60a4ae2..1d4e0ed0ca 100644 --- a/queen/cutaway.h +++ b/queen/cutaway.h @@ -162,7 +162,7 @@ class Cutaway { bool _roomFade; //! Number of cutaway objects at _cutawayData - int _cutawayObjectCount; + int16 _cutawayObjectCount; //! This cutaway is followed by another bool _anotherCutaway; |