Update of /cvsroot/netrek/server/Vanilla/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4356/tools

Modified Files:
	cambot.c 
Log Message:
sndFlags called with uninitialised pointer

Index: cambot.c
===================================================================
RCS file: /cvsroot/netrek/server/Vanilla/tools/cambot.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cambot.c	21 Mar 2005 10:17:18 -0000	1.2
+++ cambot.c	26 Apr 2006 13:10:04 -0000	1.3
@@ -4,20 +4,9 @@
  */
 
 #include <stdio.h>
-#include <string.h>
-#include <sys/types.h>
 #include <sys/time.h>
 #include <stdlib.h>
-#include <unistd.h>
 #include <signal.h>
-#include <setjmp.h>
-#include <sys/file.h>
-#include <sys/ipc.h>
-#include <sys/shm.h>
-#include <errno.h>
-#include <pwd.h>
-#include <ctype.h>
-#include <time.h>
 #include "defs.h"
 #include "struct.h"
 #include "data.h"
@@ -33,6 +22,7 @@
 
 struct you_short_spacket clientSelfs[MAXPLAYER];
 struct youss_spacket clientSelfShips[MAXPLAYER];
+struct flags_spacket clientFlags[MAXPLAYER];
 struct player cambot_me;
 struct itimerval udt;
 char	*cb_from = {"GOD->ALL"};
@@ -173,7 +163,8 @@
 	for (i=0, pl=players, cpli=clientPlayersInfo, cpl=clientPlayers,
 		 kills=clientKills, pstatus=clientPStatus,
 		 login=clientLogin, stats=clientStats,
-		 self=clientSelfs, self2=clientSelfShips;
+		 self=clientSelfs, self2=clientSelfShips,
+		 flags=clientFlags;
 	     i<MAXPLAYER;
 	     i++, pl++, cpli++, cpl++, kills++, pstatus++, login++,
 		 stats++, self++, self2++) {