aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/script_pn.cpp2
-rw-r--r--engines/kyra/gui_lol.h2
-rw-r--r--engines/sci/gui/gui_gfx.cpp4
-rw-r--r--engines/sci/gui/gui_palette.cpp4
4 files changed, 6 insertions, 6 deletions
diff --git a/engines/agos/script_pn.cpp b/engines/agos/script_pn.cpp
index f4b2aefcc6..b4ba468f51 100644
--- a/engines/agos/script_pn.cpp
+++ b/engines/agos/script_pn.cpp
@@ -259,7 +259,7 @@ void AGOSEngine_PN::opn_opcode14() {
}
void AGOSEngine_PN::opn_opcode15() {
- int32 x = varval();;
+ int32 x = varval();
if ((x < 0) || (x > 4))
x = 0;
diff --git a/engines/kyra/gui_lol.h b/engines/kyra/gui_lol.h
index ecba3bcb16..6c7398a58c 100644
--- a/engines/kyra/gui_lol.h
+++ b/engines/kyra/gui_lol.h
@@ -68,7 +68,7 @@ namespace Kyra {
item.y = c; \
item.width = d; \
item.height = e; \
- item.textColor = _vm->gameFlags().use16ColorMode ? 0xc1 : 204;; \
+ item.textColor = _vm->gameFlags().use16ColorMode ? 0xc1 : 204; \
item.highlightColor = _vm->gameFlags().use16ColorMode ? 0xe1 : 254; \
item.titleX = -1; \
if (_vm->gameFlags().use16ColorMode) { \
diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp
index 963ff75e03..a23fbda762 100644
--- a/engines/sci/gui/gui_gfx.cpp
+++ b/engines/sci/gui/gui_gfx.cpp
@@ -290,7 +290,7 @@ void SciGuiGfx::BitsGetRect(GuiMemoryHandle memoryHandle, Common::Rect *destRect
byte *memoryPtr = NULL;
if (!memoryHandle.isNull()) {
- memoryPtr = kmem(_segMan, memoryHandle);;
+ memoryPtr = kmem(_segMan, memoryHandle);
if (memoryPtr) {
_screen->bitsGetRect(memoryPtr, destRect);
@@ -302,7 +302,7 @@ void SciGuiGfx::BitsRestore(GuiMemoryHandle memoryHandle) {
byte *memoryPtr = NULL;
if (!memoryHandle.isNull()) {
- memoryPtr = kmem(_segMan, memoryHandle);;
+ memoryPtr = kmem(_segMan, memoryHandle);
if (memoryPtr) {
_screen->bitsRestore(memoryPtr);
diff --git a/engines/sci/gui/gui_palette.cpp b/engines/sci/gui/gui_palette.cpp
index bba361bab7..ea4911464e 100644
--- a/engines/sci/gui/gui_palette.cpp
+++ b/engines/sci/gui/gui_palette.cpp
@@ -230,7 +230,7 @@ void SciGuiPalette::merge(GuiPalette *pFrom, GuiPalette *pTo, uint16 flag) {
pTo->colors[res & 0xFF].used |= 0x10;
}
}
- pTo->timestamp = g_system->getMillis() * 60 / 1000;;
+ pTo->timestamp = g_system->getMillis() * 60 / 1000;
}
uint16 SciGuiPalette::matchColor(GuiPalette *pPal, byte r, byte g, byte b) {
@@ -292,7 +292,7 @@ void SciGuiPalette::setIntensity(uint16 fromColor, uint16 toColor, uint16 intens
void SciGuiPalette::animate(byte fromColor, byte toColor, int speed) {
GuiColor col;
int len = toColor - fromColor - 1;
- uint32 now = g_system->getMillis() * 60 / 1000;;
+ uint32 now = g_system->getMillis() * 60 / 1000;
// search for sheduled animations with the same 'from' value
int sz = _schedules.size();