tSoundInit() is now always called; SoundClose() now only closes the active plugin if SoundOpen() has been previously called. - vaccinewars - be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit 4a84c637bacdf71335f0040279538efc8a403ad8
parent 894ef03f9aff45fab92cf754d40347acdf9ba2ec
Author: Ben Webb 
Date:   Tue, 14 May 2002 13:02:29 +0000

SoundInit() is now always called; SoundClose() now only closes the active
plugin if SoundOpen() has been previously called.


Diffstat:
  M src/winmain.c                       |       1 +

1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git a/src/winmain.c b/src/winmain.c
t@@ -262,6 +262,7 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
   while (split[argc] && split[argc][0])
     argc++;
 
+  SoundInit();
   GeneralStartup(argc, split);
   OpenLog();
   if (WantVersion || WantHelp) {