aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-11-19 05:00:56 +0000
committerTorbjörn Andersson2005-11-19 05:00:56 +0000
commit7c34ec25671b46ec09464f3a40c5c87e2e46543a (patch)
tree074cdd668c148fb215c87ee6f73ef9f9ba1132c6 /sword2/driver
parentd4d789d5daa3c31d7e6d6ca56f47b2b09249c84c (diff)
downloadscummvm-rg350-7c34ec25671b46ec09464f3a40c5c87e2e46543a.tar.gz
scummvm-rg350-7c34ec25671b46ec09464f3a40c5c87e2e46543a.tar.bz2
scummvm-rg350-7c34ec25671b46ec09464f3a40c5c87e2e46543a.zip
Fixed misleading warning message when playing without sound files.
svn-id: r19661
Diffstat (limited to 'sword2/driver')
-rw-r--r--sword2/driver/d_sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index 8f3426c220..26495047d4 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -60,7 +60,7 @@ static AudioStream *getAudioStream(SoundFileHandle *fh, const char *base, int cd
{ "clu", kCLUMode }
};
- int soundMode = -1;
+ int soundMode = 0;
char filename[20];
for (int i = 0; i < ARRAYSIZE(file_types); i++) {