aboutsummaryrefslogtreecommitdiff
path: root/costume.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-02-21 23:59:07 +0000
committerVincent Hamm2002-02-21 23:59:07 +0000
commitf92ed783cb67ce3e9a4f5959a7be6f6e45ced98b (patch)
tree0d59084d1637f6c20f3e22add059bb828d7fbebd /costume.cpp
parentbb0a9a1a5e84ce1e943ec3df6470cb6219efd924 (diff)
downloadscummvm-rg350-f92ed783cb67ce3e9a4f5959a7be6f6e45ced98b.tar.gz
scummvm-rg350-f92ed783cb67ce3e9a4f5959a7be6f6e45ced98b.tar.bz2
scummvm-rg350-f92ed783cb67ce3e9a4f5959a7be6f6e45ced98b.zip
Fixed a buggy test that caused troubles with costumes in games after zak
svn-id: r3619
Diffstat (limited to 'costume.cpp')
-rw-r--r--costume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/costume.cpp b/costume.cpp
index 95c53f476a..ae88294950 100644
--- a/costume.cpp
+++ b/costume.cpp
@@ -726,7 +726,7 @@ byte CostumeRenderer::drawOneSlot(Actor *a, int slot) {
_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)
return mainRoutine(a, slot, code);
}
#endif