- fixed: G_FinishTravel must synchronize the CF_FLY flag with MF2_FLY.

This commit is contained in:
Christoph Oelckers 2014-10-25 01:00:40 +02:00
commit aa338a4dc6
2 changed files with 10 additions and 1 deletions

View file

@ -1237,7 +1237,7 @@ int P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage,
}
}
if (damage >= player->health && damage < TELEFRAG_DAMAGE &&
if (damage >= player->health && damage < TELEFRAG_DAMAGE
&& (G_SkillProperty(SKILLP_AutoUseHealth) || deathmatch)
&& !player->morphTics)
{ // Try to use some inventory health