[Fix #1] Fixed pilots teleporting away when dead.
This commit is contained in:
parent
57d241aa33
commit
3686104b8a
@ -514,6 +514,9 @@ void pilot_hit(Pilot* p, const Solid* w, const unsigned int shooter,
|
||||
double damage_shield, damage_armour, knockback, dam_mod;
|
||||
Pilot* pshooter;
|
||||
|
||||
/* Defaults */
|
||||
dam_mod = 0.;
|
||||
|
||||
/* Calculate the damage. */
|
||||
outfit_calcDamage(&damage_shield, &damage_armour, &knockback, dtype, damage);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user