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

CVS update: Vanilla/ntserv



Date:	Thursday August 19, 1999 @ 3:50
Author:	cameron

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

Modified Files:
	genspkt.c 
Log Message:
hide observers from team selection window player count

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

Index: Vanilla/ntserv/genspkt.c
diff -u Vanilla/ntserv/genspkt.c:1.7 Vanilla/ntserv/genspkt.c:1.8
--- Vanilla/ntserv/genspkt.c:1.7	Wed May  5 18:54:25 1999
+++ Vanilla/ntserv/genspkt.c	Thu Aug 19 03:50:22 1999
@@ -351,8 +351,14 @@
 	pstatus->pnum=pl->p_no;
 	pstatus->status=pl->p_status;
 #ifdef OBSERVERS
+	/* Some clients do not know about POBSERV, so we mask it into a
+	   known status ... for observers we tell them they are alive,
+	   but for everybody else we say they are outfitting.  Quozl */
 	if (pl->p_status == POBSERV) {
-	    pstatus->status = PALIVE;
+	    if (pl == me) 
+		pstatus->status = PALIVE;
+	    else
+		pstatus->status = POUTFIT;
 	    pobserv = 1;
 	}
 #endif