diff options
author | Joost Peters | 2005-11-06 13:14:10 +0000 |
---|---|---|
committer | Joost Peters | 2005-11-06 13:14:10 +0000 |
commit | d7b50885e2782396b2de8a65756bb42940f5e168 (patch) | |
tree | 24e0d6f529643ea73b95dcea84d8041242b6f2e3 /sword1 | |
parent | f123080d63ca2001c87b9f555b4e73c291444fad (diff) | |
download | scummvm-rg350-d7b50885e2782396b2de8a65756bb42940f5e168.tar.gz scummvm-rg350-d7b50885e2782396b2de8a65756bb42940f5e168.tar.bz2 scummvm-rg350-d7b50885e2782396b2de8a65756bb42940f5e168.zip |
fix compilation
svn-id: r19487
Diffstat (limited to 'sword1')
-rw-r--r-- | sword1/logic.cpp | 2 | ||||
-rw-r--r-- | 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: |