From 6ed2611a05c61447369200b8eb89d2e6cc5fdd80 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 20 Apr 2015 20:30:25 +1000 Subject: [PATCH] Hardcode flag hitbox size, rather than relying on player hitbox cvars --- qcsrc/server/mutators/gamemode_ctf.qh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/mutators/gamemode_ctf.qh b/qcsrc/server/mutators/gamemode_ctf.qh index 93d976cef..95b89a88e 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qh +++ b/qcsrc/server/mutators/gamemode_ctf.qh @@ -16,8 +16,8 @@ const int SP_CTF_FCKILLS = 8; const int SP_CTF_RETURNS = 9; // flag constants // for most of these, there is just one question to be asked: WHYYYYY? -#define FLAG_MIN (PL_MIN + '0 0 -13') -#define FLAG_MAX (PL_MAX + '0 0 -13') +#define FLAG_MIN ('-16 -16 -24' + '0 0 -13') +#define FLAG_MAX ('16 16 45' + '0 0 -13') const float FLAG_SCALE = 0.6; @@ -27,7 +27,7 @@ const float WPFE_THINKRATE = 0.5; const vector FLAG_DROP_OFFSET = ('0 0 32'); const vector FLAG_CARRY_OFFSET = ('-16 0 8'); -#define FLAG_SPAWN_OFFSET ('0 0 1' * (PL_MAX.z - 13)) +#define FLAG_SPAWN_OFFSET ('0 0 1' * (45 - 13)) const vector FLAG_WAYPOINT_OFFSET = ('0 0 64'); const vector FLAG_FLOAT_OFFSET = ('0 0 32'); const vector FLAG_PASS_ARC_OFFSET = ('0 0 -10'); -- 2.39.2