r4589 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Oct 3 01:48:41 EDT 2008
Author: div0
Date: 2008-10-03 01:48:41 -0400 (Fri, 03 Oct 2008)
New Revision: 4589
Modified:
trunk/data/qcsrc/server/ent_cs.qc
Log:
ent_cs: hide dead players (hope this works)
Modified: trunk/data/qcsrc/server/ent_cs.qc
===================================================================
--- trunk/data/qcsrc/server/ent_cs.qc 2008-10-03 05:46:21 UTC (rev 4588)
+++ trunk/data/qcsrc/server/ent_cs.qc 2008-10-03 05:48:41 UTC (rev 4589)
@@ -34,10 +34,9 @@
void entcs_ons(entity to)
{
- if(to == self.owner || self.team != to.team ||
- self.owner.classname == "observer" || to.classname == "observer")
+ if(to == self.owner || self.team != to.team || self.owner.classname == "observer" || to.classname == "observer" || self.deadflag != DEAD_NO)
{
- WriteByte(MSG_ENTITY, ENTCS_MSG_ONS_REMOVE);
+ WriteByte(MSG_ENTITY, ENTCS_MSG_ONS_REMOVE); // looks like a waste to me
return;
}
WriteByte(MSG_ENTITY, ENTCS_MSG_ONS_GPS);
More information about the nexuiz-commits
mailing list