aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-04-13 19:56:52 +0000
committerPaweł Kołodziejski2003-04-13 19:56:52 +0000
commit207f164cc69ceae8f3412c6ebedce02f3aad72f5 (patch)
treeab7ec691ef80a9fa2b6d26ed60a52a9aa0cf85bb /scumm
parentc71c8f4473919ef824900b7f124051c0e2f6b749 (diff)
downloadscummvm-rg350-207f164cc69ceae8f3412c6ebedce02f3aad72f5.tar.gz
scummvm-rg350-207f164cc69ceae8f3412c6ebedce02f3aad72f5.tar.bz2
scummvm-rg350-207f164cc69ceae8f3412c6ebedce02f3aad72f5.zip
fix stupid bug
svn-id: r7005
Diffstat (limited to 'scumm')
-rw-r--r--scumm/costume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index 87e33fdcb6..313a10cec6 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -1283,7 +1283,7 @@ void Scumm::cost_decodeData(Actor *a, int frame, uint usemask) {
if (_features & GF_OLD_BUNDLE)
dataptr = p + *(p + 11);
- if (_features & GF_OLD256)
+ else if (_features & GF_OLD256)
dataptr = p + *(p + lc._numColors + 8);
else
dataptr = p + READ_LE_UINT16(p + lc._numColors + 8);