From: bones_was_here Date: Sat, 5 Sep 2020 12:24:00 +0000 (+1000) Subject: Remove comment about q3 hitbox off-by-1 (the hitbox exactly matches q3 on a world... X-Git-Tag: xonotic-v0.8.5~352^2~33 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=81680bde55d4b7ada0111314395e2ab44f1d9f9b;p=xonotic%2Fxonotic-data.pk3dir.git Remove comment about q3 hitbox off-by-1 (the hitbox exactly matches q3 on a world collision test map) --- 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;