[nexuiz-commits] r6895 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jun 6 17:01:11 EDT 2009


Author: mand1nga
Date: 2009-06-06 17:01:11 -0400 (Sat, 06 Jun 2009)
New Revision: 6895

Modified:
   trunk/data/qcsrc/server/bots.qc
Log:
Additional cleaning of 'bot_list'. This seems to fix bots standing on the same place on 1 player vs 1 bot matches

Modified: trunk/data/qcsrc/server/bots.qc
===================================================================
--- trunk/data/qcsrc/server/bots.qc	2009-06-06 19:57:38 UTC (rev 6894)
+++ trunk/data/qcsrc/server/bots.qc	2009-06-06 21:01:11 UTC (rev 6895)
@@ -2467,7 +2467,10 @@
 			if (prevbot)
 				prevbot.nextbot = e;
 			else
+			{
 				bot_list = e;
+				bot_list.nextbot = world;
+			}
 			prevbot = e;
 			currentbots = currentbots + 1;
 		}



More information about the nexuiz-commits mailing list