WEAPON_HAMMER: recalculate v_forward because I forgot to do that in the release

This commit is contained in:
Marco Cawthorne 2024-01-08 15:35:26 -08:00
parent 51665d88e9
commit cf46661921
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

@ -125,6 +125,7 @@ void w_hammer_release(player pl)
Damage_Apply(trace_ent, self, hdmg, WEAPON_HAMMER, DMG_BLUNT);
makevectors(pl.v_angle);
if (trace_ent.classname == "monster_scientist") {
trace_ent.movetype = MOVETYPE_TOSS;
trace_ent.velocity = v_forward * 768 + v_up * 256;