From e40b4850f7ac94766c90873a9ac3e598f31bba40 Mon Sep 17 00:00:00 2001 From: lavosspawn Date: Thu, 21 Jul 2016 19:14:46 +0200 Subject: Modified compact implementation to work around bug https://sourceforge.net/p/scummvm/bugs/2687/ when playing Beneath a Steel Sky with our (slightly broken) sky.cpt --- engines/sky/compact.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/sky/compact.h') diff --git a/engines/sky/compact.h b/engines/sky/compact.h index 0bd5b4943b..86db0ba55b 100644 --- a/engines/sky/compact.h +++ b/engines/sky/compact.h @@ -78,6 +78,8 @@ public: uint16 giveDataListLen(uint16 listNum); const char *nameForType(uint16 type); private: + void checkAndFixOfficerBluntError(); + uint16 _numDataLists; uint16 *_dataListLen; uint16 *_rawBuf; -- cgit v1.2.3