aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-25 17:08:46 +0000
committerTorbjörn Andersson2003-11-25 17:08:46 +0000
commit3f115ba95db995305fab02f95edb9ac3800db66e (patch)
tree25f2ff27754cc79d2d22ce6d7f83c080b053315b /sword2
parent5c14fb3597c7f0e17207e8ff3197d91f8efba40a (diff)
downloadscummvm-rg350-3f115ba95db995305fab02f95edb9ac3800db66e.tar.gz
scummvm-rg350-3f115ba95db995305fab02f95edb9ac3800db66e.tar.bz2
scummvm-rg350-3f115ba95db995305fab02f95edb9ac3800db66e.zip
Removed some spurious semi-colons pointed out in patch #847464
svn-id: r11366
Diffstat (limited to 'sword2')
-rw-r--r--sword2/controls.cpp4
-rw-r--r--sword2/interpreter.cpp2
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;