diff options
-rw-r--r-- | sword2/controls.cpp | 4 | ||||
-rw-r--r-- | sword2/interpreter.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sword2/controls.cpp b/sword2/controls.cpp index 0e4ad72049..b9dd87514f 100644 --- a/sword2/controls.cpp +++ b/sword2/controls.cpp @@ -416,7 +416,7 @@ void Widget::createSurfaceImage(int state, uint32 res, int x, int y, uint32 pc) // Release the anim resource _parent->_gui->_vm->_resman->closeResource(res); -}; +} void Widget::linkSurfaceImage(Widget *from, int state, int x, int y) { _sprites[state].x = x; @@ -429,7 +429,7 @@ void Widget::linkSurfaceImage(Widget *from, int state, int x, int y) { _surfaces[state]._surface = from->_surfaces[state]._surface; _surfaces[state]._original = false; -}; +} void Widget::createSurfaceImages(uint32 res, int x, int y) { for (int i = 0; i < _numStates; i++) diff --git a/sword2/interpreter.cpp b/sword2/interpreter.cpp index 622f62bf1e..dd42a07290 100644 --- a/sword2/interpreter.cpp +++ b/sword2/interpreter.cpp @@ -190,7 +190,7 @@ void Logic::setupOpcodes(void) { }; _opcodes = opcodes; -}; +} int32 Logic::executeOpcode(int i, int32 *params) { OpcodeProc op = _opcodes[i].proc; |