Server: DamageRadius should push the player a bit more.
This commit is contained in:
parent
9eaa455ba2
commit
dcc79b605c
|
@ -88,7 +88,7 @@ HLGameRules::DamageRadius(vector org, entity attacker, float dmg, float r, int c
|
||||||
/* approximate, feel free to tweak */
|
/* approximate, feel free to tweak */
|
||||||
if (e.movetype == MOVETYPE_WALK) {
|
if (e.movetype == MOVETYPE_WALK) {
|
||||||
makevectors(vectoangles(e.origin - org));
|
makevectors(vectoangles(e.origin - org));
|
||||||
e.velocity += v_forward * (new_dmg * 5);
|
e.velocity += v_forward * (new_dmg * 8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue