[nexuiz-commits] r6674 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue May 5 14:10:09 EDT 2009


Author: div0
Date: 2009-05-05 14:10:07 -0400 (Tue, 05 May 2009)
New Revision: 6674

Modified:
   trunk/data/qcsrc/client/View.qc
Log:
do not draw porto line when dead


Modified: trunk/data/qcsrc/client/View.qc
===================================================================
--- trunk/data/qcsrc/client/View.qc	2009-05-05 17:28:02 UTC (rev 6673)
+++ trunk/data/qcsrc/client/View.qc	2009-05-05 18:10:07 UTC (rev 6674)
@@ -13,6 +13,12 @@
 
 	if(activeweapon != WEP_PORTO || spectatee_status)
 		return;
+	if(intermission == 1)
+		return;
+	if(intermission == 2)
+		return;
+	if (getstati(STAT_HEALTH) <= 0)
+		return;
 
 	dir = view_forward;
 



More information about the nexuiz-commits mailing list