From 7c34ec25671b46ec09464f3a40c5c87e2e46543a Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 19 Nov 2005 05:00:56 +0000 Subject: Fixed misleading warning message when playing without sound files. svn-id: r19661 --- sword2/driver/d_sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- cgit v1.2.3