ref: e860d4cdc79c58afd44c34079810b6aaaa575434
parent: 9e8e5e09375ed2628be53d713bd80892bbba24f4
author: Simon Howard <[email protected]>
date: Sat May 19 22:20:22 EDT 2007
Initialise sound before network setup to fix bug with sound effects not playing when playing netgames on Windows (text mode waiting screen shutdown causes sound not to start up?) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 881
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1402,13 +1402,13 @@
NET_Init ();
#endif
+ printf (DEH_String("S_Init: Setting up sound.\n"));
+ S_Init (sfxVolume * 8, musicVolume * 8);
+
printf (DEH_String("D_CheckNetGame: Checking network game status.\n"));
D_CheckNetGame ();
PrintGameVersion();
-
- printf (DEH_String("S_Init: Setting up sound.\n"));
- S_Init (sfxVolume * 8, musicVolume * 8);
printf (DEH_String("HU_Init: Setting up heads up display.\n"));
HU_Init ();