From c91a07229a8bd841e6b6e77d977254c388a2e407 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 18 Sep 2010 10:55:16 +0000 Subject: JANITORIAL: Removed most punctuation at end of warning() and error() Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791 --- engines/scumm/he/wiz_he.cpp | 2 +- engines/scumm/object.cpp | 2 +- engines/scumm/scumm.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/scumm') diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp index 1ac7e98689..361a3bc165 100644 --- a/engines/scumm/he/wiz_he.cpp +++ b/engines/scumm/he/wiz_he.cpp @@ -2088,7 +2088,7 @@ void Wiz::displayWizComplexImage(const WizParameters *params) { if (_vm->_fullRedraw && dstResNum == 0) { if (sourceImage != 0 || (params->processFlags & (kWPFScaled | kWPFRotate))) - error("Can't do this command in the enter script."); + error("Can't do this command in the enter script"); assert(_imagesNum < ARRAYSIZE(_images)); WizImage *pwi = &_images[_imagesNum]; diff --git a/engines/scumm/object.cpp b/engines/scumm/object.cpp index c6ac53b862..e2b68f8d3b 100644 --- a/engines/scumm/object.cpp +++ b/engines/scumm/object.cpp @@ -714,7 +714,7 @@ void ScummEngine_v70he::storeFlObject(int slot) { memcpy(&_storedFlObjects[_numStoredFlObjects], &_objs[slot], sizeof(_objs[slot])); _numStoredFlObjects++; if (_numStoredFlObjects > 100) - error("Too many flobjects saved on room transition."); + error("Too many flobjects saved on room transition"); } void ScummEngine_v70he::restoreFlObjects() { diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 80df889a56..e5a5da4402 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -1763,7 +1763,7 @@ void ScummEngine::setupMusic(int midi) { } else if (_game.platform == Common::kPlatformFMTowns && (_game.version == 3 || _game.id == GID_MONKEY)) { _musicEngine = _townsPlayer = new Player_Towns(this, _mixer); if (!_townsPlayer->init()) - error("Failed to initialize FM-Towns audio driver."); + error("Failed to initialize FM-Towns audio driver"); } else if (_game.version >= 3 && _game.heversion <= 62) { MidiDriver *nativeMidiDriver = 0; MidiDriver *adlibMidiDriver = 0; -- cgit v1.2.3