summaryrefslogtreecommitdiff
path: root/src/d_main.c
diff options
context:
space:
mode:
authorSimon Howard2007-05-20 02:20:22 +0000
committerSimon Howard2007-05-20 02:20:22 +0000
commite860d4cdc79c58afd44c34079810b6aaaa575434 (patch)
treef50017c05cc7f621120a47cdbfa00c911f13f754 /src/d_main.c
parent9e8e5e09375ed2628be53d713bd80892bbba24f4 (diff)
downloadchocolate-doom-e860d4cdc79c58afd44c34079810b6aaaa575434.tar.gz
chocolate-doom-e860d4cdc79c58afd44c34079810b6aaaa575434.tar.bz2
chocolate-doom-e860d4cdc79c58afd44c34079810b6aaaa575434.zip
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
Diffstat (limited to 'src/d_main.c')
-rw-r--r--src/d_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d_main.c b/src/d_main.c
index b27f833e..65cb6bb9 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1402,14 +1402,14 @@ void D_DoomMain (void)
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 ();