From ef4057c1551351ceff9a1378795b2fb8fb929200 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Tue, 7 Feb 2017 18:25:37 +0100 Subject: stop using PERS_SCORE from the server component because score is a game-specific thing also, this prevents (Aasimar's hack) the use of server status queries to determine who is spectating whom --- src/game/bg_public.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/bg_public.h b/src/game/bg_public.h index b5620401..bbb2f08b 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -262,7 +262,7 @@ typedef enum // cleared on respawn typedef enum { - PERS_SCORE, // !!! MUST NOT CHANGE, SERVER AND GAME BOTH REFERENCE !!! + PERS_SCORE, PERS_HITS, // total points damage inflicted so damage beeps can sound on change PERS_SPAWNS, // how many spawns your team has PERS_SPECSTATE, -- cgit