aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sword1/logic.cpp2
-rw-r--r--sword1/logic.h4
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: