Vanilla Development Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/ntserv



Date:	Thursday May 20, 1999 @ 21:30
Author:	cameron

Update of /home/netrek/cvsroot/Vanilla/ntserv
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv2389

Modified Files:
	struct.h main.c 
Log Message:
fix 30 second login limit

****************************************

Index: Vanilla/ntserv/struct.h
diff -u Vanilla/ntserv/struct.h:1.4 Vanilla/ntserv/struct.h:1.5
--- Vanilla/ntserv/struct.h:1.4	Fri Apr 30 15:18:46 1999
+++ Vanilla/ntserv/struct.h	Thu May 20 21:30:12 1999
@@ -131,6 +131,7 @@
 #endif
 
 
+#define KLOGIN		0x00		/* initial state */
 #define KQUIT		0x01		/* Player quit */
 #define KTORP		0x02		/* killed by torp */
 #define KPHASER		0x03		/* killed by phaser */
Index: Vanilla/ntserv/main.c
diff -u Vanilla/ntserv/main.c:1.6 Vanilla/ntserv/main.c:1.7
--- Vanilla/ntserv/main.c:1.6	Fri Apr 30 15:18:44 1999
+++ Vanilla/ntserv/main.c	Thu May 20 21:30:12 1999
@@ -193,6 +193,8 @@
     /* erase prior slot login identity */
     me->p_login[0] = '\0';
 
+    me->p_whydead = KLOGIN;
+
     /* We set these so we won't bother updating him on the location of the
      *  other players in the galaxy which he is not near.  There is no
      *  real harm to doing this, except that he would then get more information