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

CVS update: Vanilla/ntserv



Date:	Thursday January 6, 19100 @ 1:10
Author:	unbelver

Update of /home/netrek/cvsroot/Vanilla/ntserv
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv2574

Modified Files:
	daemonII.c 
Log Message:

A bit more correct check to determin if an obs is in a non-T race.

--Carlos V.



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

Index: Vanilla/ntserv/daemonII.c
diff -u Vanilla/ntserv/daemonII.c:1.29 Vanilla/ntserv/daemonII.c:1.30
--- Vanilla/ntserv/daemonII.c:1.29	Thu Dec 30 00:40:01 1999
+++ Vanilla/ntserv/daemonII.c	Thu Jan  6 01:10:59 2000
@@ -2330,7 +2330,9 @@
      * T mode teams
      */
     for (i = 0, j = &players[0]; i < MAXPLAYER; i++, j++) {
-	if( j->p_status == POBSERV ) {
+	if( (j->p_status == POBSERV) && 
+	    (j->p_team != NOBODY) &&
+	    (realNumShips(j->p_team) < tournplayers) ) {
 	    j->p_status = PEXPLODE;
             j->p_whydead = KPROVIDENCE;
             j->p_flags &= ~(PFPLOCK | PFPLLOCK);