Fixed a buggy test that caused troubles with costumes in games after zak

svn-id: r3619
This commit is contained in:
Vincent Hamm 2002-02-21 23:59:07 +00:00
parent bb0a9a1a5e
commit f92ed783cb

View File

@ -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