Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs16:/tmp/cvs-serv29147/src
Modified Files:
cowmain.c
Log Message:
Moved sound initiliazation (and thus entry music) to after receiving a
player slot, not before, so no more music while waiting on queue.
Index: cowmain.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/cowmain.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- cowmain.c 5 Apr 2007 12:57:22 -0000 1.32
+++ cowmain.c 19 Apr 2007 08:22:58 -0000 1.33
@@ -802,12 +802,6 @@
setObserverMode (xtrekPort);
savebitmaps ();
-
-#if defined(SOUND)
- /* Moved sound initialization to right after readdefaults() so
- * the intro can start playing ASAP */
- Init_Sound();
-#endif
/* open memory...? */
openmem ();
@@ -860,6 +854,11 @@
findslot ();
lastm = mctl->mc_current;
+
+#if defined(SOUND)
+ /* Only play start sound once at login screen */
+ Init_Sound();
+#endif
mapAll ();