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

CVS update: Vanilla/ntserv



Date:	Wednesday August 4, 1999 @ 10:16
Author:	ahn

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

Modified Files:
	orbit.c 
Log Message:
SB to SB docking fix submitted by Mike Moore <mike@miridea.com>.


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

Index: Vanilla/ntserv/orbit.c
diff -u Vanilla/ntserv/orbit.c:1.3 Vanilla/ntserv/orbit.c:1.4
--- Vanilla/ntserv/orbit.c:1.3	Fri Apr 30 18:31:31 1999
+++ Vanilla/ntserv/orbit.c	Wed Aug  4 10:16:12 1999
@@ -65,6 +65,11 @@
   if (! friendlyPlayer(base))
     return FALSE;
 
+  /* Disallow SB to SB docking */
+
+  if (me->p_ship.s_type == STARBASE)
+    return FALSE;
+
   /*
    * See if I am close enough:  */
   dx = base->p_x - me->p_x;