Merge branch 'dev'
This commit is contained in:
commit
e5dfc56750
@ -432,7 +432,9 @@ void pilot_hit(Pilot* p, const Solid* w, const unsigned int shooter,
|
||||
/* Calculate the damage. */
|
||||
outfit_calcDamage(&damage_shield, &damage_armour, &knockback, dtype, damage);
|
||||
|
||||
if(p->id == PLAYER_ID)
|
||||
if((p->id == PLAYER_ID) &&
|
||||
!pilot_isFlag(player, PILOT_HYP_BEGIN) &&
|
||||
!pilot_isFlag(player, PILOT_HYPERSPACE))
|
||||
player_abortAutonav("Sustaining Damage");
|
||||
|
||||
if(p->shield - damage_shield > 0.) { /* Shields take the whole blow. */
|
||||
|
Loading…
Reference in New Issue
Block a user