r4925 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Oct 28 06:12:42 EDT 2008


Author: div0
Date: 2008-10-28 06:12:42 -0400 (Tue, 28 Oct 2008)
New Revision: 4925

Modified:
   trunk/data/qcsrc/server/g_world.qc
   trunk/data/qcsrc/server/miscfunctions.qc
Log:
remove the entity zeroing from remove again, to get better crash dumps possibly


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2008-10-28 09:56:03 UTC (rev 4924)
+++ trunk/data/qcsrc/server/g_world.qc	2008-10-28 10:12:42 UTC (rev 4925)
@@ -209,7 +209,6 @@
 	world_already_spawned = TRUE;
 
 	remove = remove_safely; // during spawning, watch what you remove!
-	remove_empty_template = spawn(); // make an empty entity
 
 	compressShortVector_init();
 

Modified: trunk/data/qcsrc/server/miscfunctions.qc
===================================================================
--- trunk/data/qcsrc/server/miscfunctions.qc	2008-10-28 09:56:03 UTC (rev 4924)
+++ trunk/data/qcsrc/server/miscfunctions.qc	2008-10-28 10:12:42 UTC (rev 4925)
@@ -1333,10 +1333,8 @@
 	objerror_builtin(s);
 }
 
-entity remove_empty_template;
 void remove_unsafely(entity e)
 { 
-	copyentity(remove_empty_template, e); // zero all fields
 	remove_builtin(e);
 }
 




More information about the nexuiz-commits mailing list