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
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d05d338e0687c24ef57023e854e9f2ecfe8a2a4f
(DIR) parent c510ceb37fcf6976bc74dfb76e68325fe066ce99
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Tue, 14 May 2002 12:58:15 +0000
SoundInit() is now always called; SoundClose() now only closes the active
plugin if SoundOpen() has been previously called.
Diffstat:
M src/dopewars.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/dopewars.c b/src/dopewars.c
t@@ -2704,7 +2704,6 @@ void GeneralStartup(int argc, char *argv[])
if (!WantVersion && !WantHelp && !AIPlayer && !WantConvert && !WantAdmin) {
OpenHighScoreFile();
- SoundInit();
} else {
DropPrivileges();
}
t@@ -2849,6 +2848,7 @@ int main(int argc, char *argv[])
textdomain(PACKAGE);
#endif
WantUTF8Errors(FALSE);
+ SoundInit();
GeneralStartup(argc, argv);
OpenLog();
if (WantVersion || WantHelp) {