mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2025-02-16 09:11:11 +00:00
WildGamer's Dream
Now the car is not damaging when driving and the crouch button is pressed (unless you deliberately hit the wall at high speed).
This commit is contained in:
parent
3baa6a5e7e
commit
d1a0772586
1 changed files with 1 additions and 1 deletions
|
@ -1483,7 +1483,7 @@ static void PM_AccelerateAndMoveBody( car_t *car, carBody_t *sBody, carBody_t *t
|
|||
// damage stuff
|
||||
VectorSubtract(tBody->v, sBody->v, vec);
|
||||
impulseDamage = VectorLength(vec);
|
||||
if (impulseDamage > 5.0f){
|
||||
if (impulseDamage > 500.0f){
|
||||
// Com_Printf("impulseDamage %f\n", impulseDamage);
|
||||
pm->damage.damage += impulseDamage / 25.0f;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue