r5865 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Feb 13 11:37:17 EST 2009
Author: div0
Date: 2009-02-13 11:37:17 -0500 (Fri, 13 Feb 2009)
New Revision: 5865
Modified:
trunk/data/qcsrc/client/sbar.qc
Log:
fix distribution
Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc 2009-02-13 12:22:35 UTC (rev 5864)
+++ trunk/data/qcsrc/client/sbar.qc 2009-02-13 16:37:17 UTC (rev 5865)
@@ -1147,12 +1147,13 @@
if(me.sv_entnum == player_localentnum - 1)
break;
}
- pl = players;
+ pl = players.sort_next;
if(pl == me)
pl = pl.sort_next;
if(pl) {
- distribution = me.(scores[ps_primary]) - pl.(scores[ps_primary]);
+ distribution = me.(scores[ps_primary]);
+ distribution -= pl.(scores[ps_primary]);
} else
distribution = 0;
More information about the nexuiz-commits
mailing list