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

CVS update: Vanilla/robots



Date:	Saturday May 27, 2000 @ 2:52
Author:	jeffno

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

Modified Files:
	puckmove.c 
Log Message:
Don't knock player out of orbit on wall planets.

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

Index: Vanilla/robots/puckmove.c
diff -u Vanilla/robots/puckmove.c:1.5 Vanilla/robots/puckmove.c:1.6
--- Vanilla/robots/puckmove.c:1.5	Sat May 27 02:46:25 2000
+++ Vanilla/robots/puckmove.c	Sat May 27 02:52:03 2000
@@ -1282,7 +1282,8 @@
     /* avoid dead slots, me, other robots (which aren't hostile) */
     for (i = 0, j = &players[i], track = &tracks[i];
            i < MAXPLAYER; i++, j++, track++) {
-        if ( (j == me) || (j == anncer) || (j->p_status!=PALIVE) )
+        if ( (j == me) || (j == anncer) || (j->p_status!=PALIVE) ||
+             (j->p_flags & PFORBIT) )
             continue;  /*Don't do this for dead and for puck*/
         if (track->t_flags & PU_SITOUT)
 	    continue;  /*Don't do this if sitting out */