Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22793/src

Modified Files:
	socket.c 
Log Message:
T mode start/stop sounds will no longer be heard if in playback (cambot viewing) mode, as the INL server seems
somewhat broken with regard to tourn status, especially near the end game (during "x time left" messages, it seems
that tourn status flips from on to off to on again rapidly.  Plus, if the server is running INL mode, tourn status isn't
that important.

Index: socket.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/socket.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- socket.c	20 Sep 2006 16:54:20 -0000	1.8
+++ socket.c	30 Nov 2006 01:32:36 -0000	1.9
@@ -1172,6 +1172,9 @@
     if (oldtourn != status->tourn && oldtourn != 2)
     {
 #ifdef SOUND
+#ifdef RECORDGAME
+      if (!inplayback) {
+#endif
         if (status->tourn)
         {
             if (newSound)
@@ -1185,7 +1188,10 @@
                 Play_Sound(STOP_TMODE_WAV);
             else
                 Play_Sound(STOP_TMODE_SOUND);
-        }	
+        }
+#ifdef RECORDGAME
+      }
+#endif	
 #endif
     }
     oldtourn = status->tourn;