aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/sound/sound.cpp
diff options
context:
space:
mode:
authorLittleboy2011-06-28 22:54:51 -0400
committerLittleboy2011-06-28 22:54:51 -0400
commitb4ac4988cca41c2a59e4de99b8fe5392372e21dd (patch)
treede16e2b26463632836cc35d20e87f7c3f0bc7e57 /engines/lastexpress/sound/sound.cpp
parent90dc4f9a8c3f77b15c7c6d49651338dbc40c40fa (diff)
downloadscummvm-rg350-b4ac4988cca41c2a59e4de99b8fe5392372e21dd.tar.gz
scummvm-rg350-b4ac4988cca41c2a59e4de99b8fe5392372e21dd.tar.bz2
scummvm-rg350-b4ac4988cca41c2a59e4de99b8fe5392372e21dd.zip
LASTEXPRESS: Cleanup comments
Diffstat (limited to 'engines/lastexpress/sound/sound.cpp')
-rw-r--r--engines/lastexpress/sound/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lastexpress/sound/sound.cpp b/engines/lastexpress/sound/sound.cpp
index 16e502ad5a..45f8140d27 100644
--- a/engines/lastexpress/sound/sound.cpp
+++ b/engines/lastexpress/sound/sound.cpp
@@ -300,7 +300,7 @@ void SoundManager::playSoundEvent(EntityIndex entity, byte action, byte a3) {
void SoundManager::playSteam(CityIndex index) {
if (index >= ARRAYSIZE(cities))
- error("SoundManager::playSteam: invalid city index (was %d, max %d)", index, ARRAYSIZE(cities));
+ error("[SoundManager::playSteam] Invalid city index (was %d, max %d)", index, ARRAYSIZE(cities));
_queue->resetState(kSoundState2);
@@ -676,7 +676,7 @@ void SoundManager::readText(int id){
return;
if (id < 0 || (id > 8 && id < 50) || id > 64)
- error("Sound::readText - attempting to use invalid id. Valid values [1;8] - [50;64], was %d", id);
+ error("[Sound::readText] Attempting to use invalid id. Valid values [1;8] - [50;64], was %d", id);
// Get proper message file (names are stored in sequence in the array but id is [1;8] - [50;64])
const char *text = messages[id <= 8 ? id : id - 41];