r3851 - trunk/data/qcsrc/server

savagex at icculus.org savagex at icculus.org
Sun Jul 20 13:47:37 EDT 2008


Author: savagex
Date: 2008-07-20 13:47:35 -0400 (Sun, 20 Jul 2008)
New Revision: 3851

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
assault bitrot, round two: Don't crash on new round, mkay? That's 
perhaps baaaaaad... mkay?


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2008-07-20 17:44:22 UTC (rev 3850)
+++ trunk/data/qcsrc/server/g_world.qc	2008-07-20 17:47:35 UTC (rev 3851)
@@ -1316,8 +1316,12 @@
 			}
 			else
 			{
+				local entity oldself;
+				oldself = self;
+				self = ent;
 				cvar_set("timelimit", ftos((2*time)/60));
 				assault_new_round();
+				self = oldself;
 			}
 		}
 	}




More information about the nexuiz-commits mailing list