From 762d2dc03a7ae28dc49ad4e13720c4071cb6bae5 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 15 Aug 2009 14:13:48 +0000 Subject: Removed unnecessary semi-colons. svn-id: r43409 --- engines/agos/vga.cpp | 2 +- engines/gob/video_v6.cpp | 2 +- engines/parallaction/font.cpp | 2 +- engines/tinsel/actors.cpp | 2 +- engines/tinsel/tinlib.cpp | 2 +- engines/tucker/tucker.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp index 1344be6b3a..35e87060a9 100644 --- a/engines/agos/vga.cpp +++ b/engines/agos/vga.cpp @@ -1197,7 +1197,7 @@ void AGOSEngine::vc32_saveScreen() { uint16 height = _videoWindows[4 * 4 + 3]; byte *dst = (byte *)_backGroundBuf->getBasePtr(xoffs, yoffs); - byte *src = (byte *)_window4BackScn->pixels;; + byte *src = (byte *)_window4BackScn->pixels; uint16 srcWidth = _videoWindows[4 * 4 + 2] * 16; for (; height > 0; height--) { memcpy(dst, src, width); diff --git a/engines/gob/video_v6.cpp b/engines/gob/video_v6.cpp index 74447f1a84..c51b027bad 100644 --- a/engines/gob/video_v6.cpp +++ b/engines/gob/video_v6.cpp @@ -39,7 +39,7 @@ Video_v6::Video_v6(GobEngine *vm) : Video_v2(vm) { } void Video_v6::setPrePalette() { - byte *tpal = (byte *) _vm->_draw->_vgaPalette;; + byte *tpal = (byte *) _vm->_draw->_vgaPalette; const byte *fpal = (const byte *) _ditherPalette; for (int i = 0; i < 256; i++) { diff --git a/engines/parallaction/font.cpp b/engines/parallaction/font.cpp index 9207d24e29..daa74cc7dc 100644 --- a/engines/parallaction/font.cpp +++ b/engines/parallaction/font.cpp @@ -256,7 +256,7 @@ public: byte* getData(uint16 index) { assert(index < _numGlyphs); - return _data + (_height * _widths[index]) * index;; + return _data + (_height * _widths[index]) * index; } void getRect(uint16 index, Common::Rect &r) { diff --git a/engines/tinsel/actors.cpp b/engines/tinsel/actors.cpp index e9d0c9f79f..15211c60aa 100644 --- a/engines/tinsel/actors.cpp +++ b/engines/tinsel/actors.cpp @@ -1185,7 +1185,7 @@ SCNHANDLE GetActorTalkFilm(int ano) { void SetActorTalking(int ano, bool tf) { assert(ano > 0 && ano <= NumActors); // illegal actor number - actorInfo[ano - 1].bTalking = tf;; + actorInfo[ano - 1].bTalking = tf; } bool ActorIsTalking(int ano) { diff --git a/engines/tinsel/tinlib.cpp b/engines/tinsel/tinlib.cpp index 957c4f7626..b97f8841ef 100644 --- a/engines/tinsel/tinlib.cpp +++ b/engines/tinsel/tinlib.cpp @@ -359,7 +359,7 @@ typedef SCROLL_MONITOR *PSCROLL_MONITOR; */ static void ScrollMonitorProcess(CORO_PARAM, const void *param) { int Loffset, Toffset; - const SCROLL_MONITOR *psm = (const SCROLL_MONITOR *)param;; + const SCROLL_MONITOR *psm = (const SCROLL_MONITOR *)param; // COROUTINE CORO_BEGIN_CONTEXT; diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp index 09e9a0d38a..05cbcacd34 100644 --- a/engines/tucker/tucker.cpp +++ b/engines/tucker/tucker.cpp @@ -687,7 +687,7 @@ void TuckerEngine::setupNewLocation() { _fadePaletteCounter = 0; _mainLoopCounter2 = 0; _mainLoopCounter1 = 0; - _characterFacingDirection = 0;; + _characterFacingDirection = 0; _skipPanelObjectUnderCursor = 0; _locationMaskIgnore = 0; _backgroundSprOffset = 0; -- cgit v1.2.3