From d7b50885e2782396b2de8a65756bb42940f5e168 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Sun, 6 Nov 2005 13:14:10 +0000 Subject: fix compilation svn-id: r19487 --- sword1/logic.cpp | 2 +- sword1/logic.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sword1/logic.cpp b/sword1/logic.cpp index c015e97bdc..886bc59448 100644 --- a/sword1/logic.cpp +++ b/sword1/logic.cpp @@ -681,7 +681,7 @@ int Logic::interpretScript(Object *compact, int id, Header *scriptModule, int sc } } -const BSMcodeTable Logic::_mcodeTable[100] = { +BSMcodeTable Logic::_mcodeTable[100] = { &Logic::fnBackground, &Logic::fnForeground, &Logic::fnSort, diff --git a/sword1/logic.h b/sword1/logic.h index cbf0b895f0..29bda2c270 100644 --- a/sword1/logic.h +++ b/sword1/logic.h @@ -88,8 +88,8 @@ private: int fullAnimDriver(Object *compact); int animDriver(Object *compact); - static BSMcodeTable _mcodeTable[100]; - + static BSMcodeTable _mcodeTable[100]; + uint16 inRange(uint16 a, uint16 b, uint16 c); //- mcodeTable: -- cgit v1.2.3