r4823 - in branches/nexuiz-2.0: . data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Oct 22 13:32:19 EDT 2008


Author: div0
Date: 2008-10-22 13:32:19 -0400 (Wed, 22 Oct 2008)
New Revision: 4823

Modified:
   branches/nexuiz-2.0/.patchsets
   branches/nexuiz-2.0/data/qcsrc/client/teamradar.qc
Log:
r4821 | div0 | 2008-10-22 19:21:51 +0200 (Wed, 22 Oct 2008) | 2 lines
better handle the case of missing minimap
r4822 | div0 | 2008-10-22 19:24:56 +0200 (Wed, 22 Oct 2008) | 2 lines
fix latest commit

Modified: branches/nexuiz-2.0/.patchsets
===================================================================
--- branches/nexuiz-2.0/.patchsets	2008-10-22 17:24:56 UTC (rev 4822)
+++ branches/nexuiz-2.0/.patchsets	2008-10-22 17:32:19 UTC (rev 4823)
@@ -1,2 +1,2 @@
 master = svn://svn.icculus.org/nexuiz/trunk
-revisions_applied = 1-4819
+revisions_applied = 1-4822

Modified: branches/nexuiz-2.0/data/qcsrc/client/teamradar.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/client/teamradar.qc	2008-10-22 17:24:56 UTC (rev 4822)
+++ branches/nexuiz-2.0/data/qcsrc/client/teamradar.qc	2008-10-22 17:32:19 UTC (rev 4823)
@@ -55,7 +55,7 @@
 		R_EndPolygon();
 	}
 
-	if(fg > 0)
+	if(fg > 0 && minimapname != "")
 	{
 		if(csqc_flags & CSQC_FLAG_READPICTURE) // not 2.4.2
 			R_BeginPolygon(minimapname, DRAWFLAG_SCREEN | DRAWFLAG_MIPMAP);
@@ -195,7 +195,7 @@
 	float scale2d, normalsize, bigsize;
 	float f;
 
-	if(minimapname == "")
+	if(minimapname == "" && !ons_showmap)
 		return;
 
 	teamradar_loadcvars();




More information about the nexuiz-commits mailing list