From 81680bde55d4b7ada0111314395e2ab44f1d9f9b Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Sat, 5 Sep 2020 22:24:00 +1000 Subject: [PATCH] Remove comment about q3 hitbox off-by-1 (the hitbox exactly matches q3 on a world collision test map) --- qcsrc/common/physics/player.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index bfb06422e..5a72ce47e 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -56,7 +56,7 @@ void Physics_UpdateStats(entity this) : 0; STAT(MOVEVARS_AIRSPEEDLIMIT_NONQW, this) = Physics_ClientOption(this, "airspeedlimit_nonqw", autocvar_sv_airspeedlimit_nonqw) * maxspd_mod; } - bool q3hb = q3compat && autocvar_sv_q3compat_changehitbox; // NOTE: these hitboxes are off by 1 due to engine differences + bool q3hb = q3compat && autocvar_sv_q3compat_changehitbox; STAT(PL_MIN, this) = (q3hb) ? '-15 -15 -20' : autocvar_sv_player_mins; STAT(PL_MAX, this) = (q3hb) ? '15 15 36' : autocvar_sv_player_maxs; STAT(PL_VIEW_OFS, this) = (q3hb) ? '0 0 30' : autocvar_sv_player_viewoffset; -- 2.39.2