tSoundInit() is now always called; SoundClose() now only closes the active plug… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit d05d338e0687c24ef57023e854e9f2ecfe8a2a4f | |
parent c510ceb37fcf6976bc74dfb76e68325fe066ce99 | |
Author: Ben Webb <[email protected]> | |
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(-) | |
--- | |
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) { |