WEAPON_HAMMER: recalculate v_forward because I forgot to do that in the release
This commit is contained in:
parent
51665d88e9
commit
cf46661921
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ void w_hammer_release(player pl)
|
||||||
|
|
||||||
Damage_Apply(trace_ent, self, hdmg, WEAPON_HAMMER, DMG_BLUNT);
|
Damage_Apply(trace_ent, self, hdmg, WEAPON_HAMMER, DMG_BLUNT);
|
||||||
|
|
||||||
|
makevectors(pl.v_angle);
|
||||||
if (trace_ent.classname == "monster_scientist") {
|
if (trace_ent.classname == "monster_scientist") {
|
||||||
trace_ent.movetype = MOVETYPE_TOSS;
|
trace_ent.movetype = MOVETYPE_TOSS;
|
||||||
trace_ent.velocity = v_forward * 768 + v_up * 256;
|
trace_ent.velocity = v_forward * 768 + v_up * 256;
|
||||||
|
|
Loading…
Reference in a new issue