From 163f68993fb7551b80e7c94f08277ff5bc40329d Mon Sep 17 00:00:00 2001 From: div0 Date: Thu, 12 Feb 2009 07:30:34 +0000 Subject: [PATCH] hopefully fix score display in LMS git-svn-id: svn://svn.icculus.org/nexuiz/trunk@5850 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/common/constants.qh | 2 ++ data/qcsrc/server/cl_client.qc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/qcsrc/common/constants.qh b/data/qcsrc/common/constants.qh index 0ab047045..891248a94 100644 --- a/data/qcsrc/common/constants.qh +++ b/data/qcsrc/common/constants.qh @@ -409,7 +409,9 @@ float HITTYPE_RESERVED = 0x1000; // unused yet #define FRAGS_PLAYER 0 #define FRAGS_SPECTATOR -666 +#define FRAGS_LMS_LOSER -616 #define FRAGS_PLAYER_NONSOLID -616 +// we can use this frags value for both //misc. stuff #define NEWLINES "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" diff --git a/data/qcsrc/server/cl_client.qc b/data/qcsrc/server/cl_client.qc index dcb650980..803fcff21 100644 --- a/data/qcsrc/server/cl_client.qc +++ b/data/qcsrc/server/cl_client.qc @@ -584,7 +584,7 @@ void PutObserverInServer (void) if(PlayerScore_Add(self, SP_LMS_RANK, 0) == 666) self.frags = FRAGS_SPECTATOR; else - self.frags = FRAGS_SPECTATOR; // this was -667 before, is this okay? + self.frags = FRAGS_LMS_LOSER; } else self.frags = FRAGS_SPECTATOR; -- 2.39.2