diff options
Diffstat (limited to 'engines/sword2')
-rw-r--r-- | engines/sword2/mouse.cpp | 2 | ||||
-rw-r--r-- | engines/sword2/palette.cpp | 2 | ||||
-rw-r--r-- | engines/sword2/resman.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/sword2/mouse.cpp b/engines/sword2/mouse.cpp index 65175a759e..273ad1ec60 100644 --- a/engines/sword2/mouse.cpp +++ b/engines/sword2/mouse.cpp @@ -1046,7 +1046,7 @@ void Mouse::mouseOnOff() { setLuggage(_currentLuggageResource); } } else { - error("ERROR: mouse.pointer==0 for object %d (%s) - update logic script!", _mouseTouching, _vm->_resman->fetchName(_mouseTouching)); + error("ERROR: mouse.pointer==0 for object %d (%s) - update logic script", _mouseTouching, _vm->_resman->fetchName(_mouseTouching)); } } else if (_oldMouseTouching && !_mouseTouching) { // the cursor has moved off something - reset cursor to diff --git a/engines/sword2/palette.cpp b/engines/sword2/palette.cpp index 1ac863c3fb..aa569689ff 100644 --- a/engines/sword2/palette.cpp +++ b/engines/sword2/palette.cpp @@ -129,7 +129,7 @@ void Screen::setFullPalette(int32 palRes) { setPalette(0, 256, _vm->fetchPalette(data), RDPAL_INSTANT); _vm->_resman->closeResource(_thisScreen.background_layer_id); } else - error("setFullPalette(0) called, but no current screen available!"); + error("setFullPalette(0) called, but no current screen available"); } if (palRes != CONTROL_PANEL_PALETTE) diff --git a/engines/sword2/resman.cpp b/engines/sword2/resman.cpp index e29a73f225..6741be33f1 100644 --- a/engines/sword2/resman.cpp +++ b/engines/sword2/resman.cpp @@ -478,7 +478,7 @@ void ResourceManager::readCluIndex(uint16 fileNum, Common::File *file) { _resFiles[fileNum].numEntries = tableSize / 8; file->read(_resFiles[fileNum].entryTab, tableSize); if (file->ioFailed()) - error("unable to read index table from file %s\n", _resFiles[fileNum].fileName); + error("unable to read index table from file %s", _resFiles[fileNum].fileName); #ifdef SCUMM_BIG_ENDIAN for (int tabCnt = 0; tabCnt < _resFiles[fileNum].numEntries * 2; tabCnt++) @@ -568,7 +568,7 @@ void ResourceManager::checkMemUsage() { tmp->ptr = NULL; _usedMem -= tmp->size; } else { - warning("%d bytes of memory used, but cache list is empty!\n", _usedMem); + warning("%d bytes of memory used, but cache list is empty", _usedMem); return; } } |