r2327 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Apr 16 12:11:42 EDT 2007
Author: kadaverjack
Date: 2007-04-16 12:11:42 -0400 (Mon, 16 Apr 2007)
New Revision: 2327
Modified:
trunk/data/qcsrc/server/cl_weaponsystem.qc
Log:
only show ONE weapon at a time to spectators
Modified: trunk/data/qcsrc/server/cl_weaponsystem.qc
===================================================================
--- trunk/data/qcsrc/server/cl_weaponsystem.qc 2007-04-16 14:30:32 UTC (rev 2326)
+++ trunk/data/qcsrc/server/cl_weaponsystem.qc 2007-04-16 16:11:42 UTC (rev 2327)
@@ -125,12 +125,10 @@
float CL_Weaponentity_CustomizeEntityForClient()
{
- if(other == self.owner)
- self.viewmodelforclient = other;
- else
- if(other.classname == "spectator")
- if(other.enemy == self.owner)
- self.viewmodelforclient = other;
+ self.viewmodelforclient = self.owner;
+ if(other.classname == "spectator")
+ if(other.enemy == self.owner)
+ self.viewmodelforclient = other;
return TRUE;
}
More information about the nexuiz-commits
mailing list