aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/control.cpp10
-rw-r--r--engines/sky/intro.cpp2
-rw-r--r--engines/sky/sound.cpp2
-rw-r--r--engines/sky/text.cpp4
4 files changed, 9 insertions, 9 deletions
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp
index f40391778c..764f3de9dd 100644
--- a/engines/sky/control.cpp
+++ b/engines/sky/control.cpp
@@ -1195,15 +1195,15 @@ void Control::importOldCompact(Compact* destCpt, uint8 **srcPos, uint16 numElems
uint16 saveType;
LODSW(*srcPos, saveType);
if ((saveType & (SAVE_EXT | SAVE_TURNP)) && (numElems < 54))
- error("Cpt %s: Savedata doesn't match cpt size (%d)!\n", name, numElems);
+ error("Cpt %s: Savedata doesn't match cpt size (%d)", name, numElems);
if ((saveType & SAVE_MEGA0) && (numElems < 54 + 13))
- error("Cpt %s: Savedata doesn't match cpt size (%d)!\n", name, numElems);
+ error("Cpt %s: Savedata doesn't match cpt size (%d)", name, numElems);
if ((saveType & SAVE_MEGA1) && (numElems < 54 + 13 + 13))
- error("Cpt %s: Savedata doesn't match cpt size (%d)!\n", name, numElems);
+ error("Cpt %s: Savedata doesn't match cpt size (%d)", name, numElems);
if ((saveType & SAVE_MEGA2) && (numElems < 54 + 13 + 13 + 13))
- error("Cpt %s: Savedata doesn't match cpt size (%d)!\n", name, numElems);
+ error("Cpt %s: Savedata doesn't match cpt size (%d)", name, numElems);
if ((saveType & SAVE_MEGA3) && (numElems < 54 + 13 + 13 + 13))
- error("Cpt %s: Savedata doesn't match cpt size (%d)!\n", name, numElems);
+ error("Cpt %s: Savedata doesn't match cpt size (%d)", name, numElems);
if (saveType & SAVE_GRAFX) {
uint16 graphType, target, pos;
LODSW(*srcPos, graphType);
diff --git a/engines/sky/intro.cpp b/engines/sky/intro.cpp
index 7bf4e85921..eb82d9dbaf 100644
--- a/engines/sky/intro.cpp
+++ b/engines/sky/intro.cpp
@@ -836,7 +836,7 @@ bool Intro::commandFlirt(uint16 *&data) {
_skySound->playSound(1, *data++, 0);
break;
default:
- error("Unknown FLIRT command %X\n", command);
+ error("Unknown FLIRT command %X", command);
}
}
if (!escDelay(50)) {
diff --git a/engines/sky/sound.cpp b/engines/sky/sound.cpp
index e3eb2f9159..596204b999 100644
--- a/engines/sky/sound.cpp
+++ b/engines/sky/sound.cpp
@@ -1064,7 +1064,7 @@ void Sound::loadSection(uint8 pSection) {
if ((_soundData[asmOfs] != 0x3C) || (_soundData[asmOfs + 0x27] != 0x8D) ||
(_soundData[asmOfs + 0x28] != 0x1E) || (_soundData[asmOfs + 0x2F] != 0x8D) ||
(_soundData[asmOfs + 0x30] != 0x36))
- error("Unknown sounddriver version!");
+ error("Unknown sounddriver version");
_soundsTotal = _soundData[asmOfs + 1];
uint16 sRateTabOfs = READ_LE_UINT16(_soundData + asmOfs + 0x29);
diff --git a/engines/sky/text.cpp b/engines/sky/text.cpp
index 820f1827c2..497c8a1ba3 100644
--- a/engines/sky/text.cpp
+++ b/engines/sky/text.cpp
@@ -279,7 +279,7 @@ DisplayedText Text::displayText(char *textPtr, uint8 *dest, bool centre, uint16
if (pixelWidth <= lineWidth) {
if (*(lastSpace-1) == 10)
- error("line width exceeded!");
+ error("line width exceeded");
*(lastSpace-1) = 10;
lineWidth = 0;
@@ -296,7 +296,7 @@ DisplayedText Text::displayText(char *textPtr, uint8 *dest, bool centre, uint16
numLines++;
if (numLines > MAX_NO_LINES)
- error("Maximum no. of lines exceeded!");
+ error("Maximum no. of lines exceeded");
uint32 dtLineSize = pixelWidth * _charHeight;
uint32 numBytes = (dtLineSize * numLines) + sizeof(DataFileHeader) + 4;