From f92ed783cb67ce3e9a4f5959a7be6f6e45ced98b Mon Sep 17 00:00:00 2001 From: Vincent Hamm Date: Thu, 21 Feb 2002 23:59:07 +0000 Subject: Fixed a buggy test that caused troubles with costumes in games after zak svn-id: r3619 --- costume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'costume.cpp') 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 -- cgit v1.2.3