aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/sound.cpp
diff options
context:
space:
mode:
authoryinsimei2017-07-10 20:39:11 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commit08304b848ad871e25353bf4fdd9c05182bc83fbf (patch)
tree0cbfbc217b4691828bf8947935c11c05ee03185d /engines/sludge/sound.cpp
parented09887e84b7d50fdaed7b87a4c9927620bea6aa (diff)
downloadscummvm-rg350-08304b848ad871e25353bf4fdd9c05182bc83fbf.tar.gz
scummvm-rg350-08304b848ad871e25353bf4fdd9c05182bc83fbf.tar.bz2
scummvm-rg350-08304b848ad871e25353bf4fdd9c05182bc83fbf.zip
SLUDGE: use Common/debug instead of sludge debug
Diffstat (limited to 'engines/sludge/sound.cpp')
-rw-r--r--engines/sludge/sound.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sludge/sound.cpp b/engines/sludge/sound.cpp
index 745c3a2a09..a92a51c174 100644
--- a/engines/sludge/sound.cpp
+++ b/engines/sludge/sound.cpp
@@ -32,7 +32,6 @@
#include "audio/mods/protracker.h"
#include "sludge/allfiles.h"
-#include "sludge/debug.h"
#include "sludge/newfatal.h"
#include "sludge/sound.h"
#include "sludge/moreio.h"
@@ -418,7 +417,7 @@ bool startSound(int f, bool loopy) {
Audio::AudioStream *stream = nullptr;
int a = makeSoundAudioStream(f, stream, loopy);
if (a == -1) {
- debugOut("Failed to cache sound!\n");
+ warning("Failed to cache sound!");
return false;
}
@@ -552,7 +551,7 @@ void playSoundList(soundList *s) {
Audio::AudioStream *stream;
int a = makeSoundAudioStream(s->sound, stream, false);
if (a == -1) {
- debugOut("Failed to cache sound!\n");
+ warning("Failed to cache sound!");
return;
}