r2019 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Dec 8 17:28:20 EST 2006


Author: div0
Date: 2006-12-08 17:28:20 -0500 (Fri, 08 Dec 2006)
New Revision: 2019

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
reject same mmap again in first pass (could still happen when size restrictions were in place)


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2006-12-08 19:57:08 UTC (rev 2018)
+++ trunk/data/qcsrc/server/g_world.qc	2006-12-08 22:28:20 UTC (rev 2019)
@@ -485,6 +485,8 @@
 float(float position, float pass) Map_Check =
 {
 	string filename;
+	if(argv(position) == GetMapname() && pass <= 1) // same map again in first pass?
+		return 0;
 	filename = Map_Filename(position);
 	if(TryFile(filename))
 	{




More information about the nexuiz-commits mailing list