diff options
author | Torbjörn Andersson | 2010-09-18 10:55:16 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-09-18 10:55:16 +0000 |
commit | c91a07229a8bd841e6b6e77d977254c388a2e407 (patch) | |
tree | 8eb84ab7f181f42447e14f76f4bb06889a2df246 /engines/sword1 | |
parent | 6fed6a75d53259f90b69ca951275e11d6c98042a (diff) | |
download | scummvm-rg350-c91a07229a8bd841e6b6e77d977254c388a2e407.tar.gz scummvm-rg350-c91a07229a8bd841e6b6e77d977254c388a2e407.tar.bz2 scummvm-rg350-c91a07229a8bd841e6b6e77d977254c388a2e407.zip |
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
Diffstat (limited to 'engines/sword1')
-rw-r--r-- | engines/sword1/logic.cpp | 4 | ||||
-rw-r--r-- | engines/sword1/sound.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword1/logic.cpp b/engines/sword1/logic.cpp index 35d8e14f27..ef54167d41 100644 --- a/engines/sword1/logic.cpp +++ b/engines/sword1/logic.cpp @@ -1017,7 +1017,7 @@ int Logic::fnNewScript(Object *cpt, int32 id, int32 script, int32 d, int32 e, in int Logic::fnSubScript(Object *cpt, int32 id, int32 script, int32 d, int32 e, int32 f, int32 z, int32 x) { cpt->o_tree.o_script_level++; if (cpt->o_tree.o_script_level == TOTAL_script_levels) - error("Compact %d: script level exceeded in fnSubScript.", id); + error("Compact %d: script level exceeded in fnSubScript", id); cpt->o_tree.o_script_pc[cpt->o_tree.o_script_level] = script; cpt->o_tree.o_script_id[cpt->o_tree.o_script_level] = script; return SCRIPT_STOP; @@ -1605,7 +1605,7 @@ int Logic::fnStopMusic(Object *cpt, int32 id, int32 a, int32 b, int32 c, int32 d } int Logic::fnInnerSpace(Object *cpt, int32 id, int32 a, int32 b, int32 c, int32 d, int32 z, int32 x) { - error("fnInnerSpace() not working."); + error("fnInnerSpace() not working"); return SCRIPT_STOP; // for compilers that don't support NORETURN } diff --git a/engines/sword1/sound.cpp b/engines/sword1/sound.cpp index da9a83cdff..55600cfb63 100644 --- a/engines/sword1/sound.cpp +++ b/engines/sword1/sound.cpp @@ -535,7 +535,7 @@ void Sound::calcWaveVolume(int16 *data, uint32 length) { _waveVolPos = 0; for (uint32 blkCnt = 1; blkCnt < length / 918; blkCnt++) { if (blkCnt >= WAVE_VOL_TAB_LENGTH) { - warning("Wave vol tab too small."); + warning("Wave vol tab too small"); return; } int32 average = 0; |