]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_player.qc
Make it compile now
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_player.qc
index eb3e81fbb280a7d226e65f2554b22df8c5eab99d..4d80407f4f0234e5105f8d3528c325b4d7761a8a 100644 (file)
@@ -521,7 +521,7 @@ void PlayerDamage (entity inflictor, entity attacker, float damage, float deatht
 
                if(self.alivetime)
                {
-                       PlayerStats_Event(self, PLAYERSTATS_ALIVETIME, time - self.alivetime);
+                       PS_GR_P_ADDVAL(self, PLAYERSTATS_ALIVETIME, time - self.alivetime);
                        self.alivetime = 0;
                }