X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Fhook.qc;fp=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Fhook.qc;h=94d4ac33ed765899b1fd0cd46ae9a964f8d54324;hp=d9e11dc012fb9d2736a0f04a56853d4ab9c9e14d;hb=e19be1e6321de909c7d920871cb9bf73e948bebf;hpb=a7432cf9e6726c4123fb41b68c47182fd5cb894e diff --git a/qcsrc/common/weapons/weapon/hook.qc b/qcsrc/common/weapons/weapon/hook.qc index d9e11dc01..94d4ac33e 100644 --- a/qcsrc/common/weapons/weapon/hook.qc +++ b/qcsrc/common/weapons/weapon/hook.qc @@ -243,8 +243,8 @@ METHOD(Hook, wr_killmessage, Notification(entity thiswep)) METHOD(Hook, wr_impacteffect, void(entity thiswep, entity actor)) { - vector org2; - org2 = w_org + w_backoff * 2; + // the hook bomb uses a negative w_backoff factor because it explodes slightly below the floor, unlike other projectiles + vector org2 = w_org + w_backoff * -2; pointparticles(EFFECT_HOOK_EXPLODE, org2, '0 0 0', 1); if(!w_issilent) sound(actor, CH_SHOTS, SND_HOOKBOMB_IMPACT, VOL_BASE, ATTN_NORM);