aboutsummaryrefslogtreecommitdiff
path: root/scumm/costume.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-04-08 19:05:41 +0000
committerPaweł Kołodziejski2003-04-08 19:05:41 +0000
commit7189347adbe188ddf95b44e8580b6ea348a65030 (patch)
treed23d5b022989cf3addc81cfdf946be3de99fde0a /scumm/costume.cpp
parentb93b9dc6a0528e538ebf47f00ba1926bf4e68027 (diff)
downloadscummvm-rg350-7189347adbe188ddf95b44e8580b6ea348a65030.tar.gz
scummvm-rg350-7189347adbe188ddf95b44e8580b6ea348a65030.tar.bz2
scummvm-rg350-7189347adbe188ddf95b44e8580b6ea348a65030.zip
changed range from GF_OLD256 to GF_AFTER_V3
svn-id: r6940
Diffstat (limited to 'scumm/costume.cpp')
-rw-r--r--scumm/costume.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index 04147bf167..08f432002c 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -1226,7 +1226,7 @@ byte CostumeRenderer::drawLimb(const CostumeData &cost, int limb) {
_srcptr = _loaded._ptr + READ_LE_UINT16(_frameptr + code * 2);
if (code != 0x7B) {
- if (!(_vm->_features & GF_OLD256) || code < 0x79)
+ if (!(_vm->_features & GF_OLD256) || code < 0x79) // GF_OLD256 or GF_AFTER_V3 ?
return mainRoutine(limb, code);
}
@@ -1261,7 +1261,7 @@ void Scumm::cost_decodeData(Actor *a, int frame, uint usemask) {
return;
}
- if (_features & GF_OLD256)
+ if (_features & GF_AFTER_V3)
dataptr = p + *(p + lc._numColors + 8);
else
dataptr = p + READ_LE_UINT16(p + lc._numColors + 8);
@@ -1271,7 +1271,7 @@ void Scumm::cost_decodeData(Actor *a, int frame, uint usemask) {
i = 0;
do {
if (mask & 0x8000) {
- if (_features & GF_OLD256) {
+ if (_features & GF_AFTER_V3) {
j = 0;
j = *(r);
r++;