Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- changed fall damage so it is max 'TELEFRAG_DAMAGE - 1' instead of a…
… flat 999 (it used to check for >=1000).
  • Loading branch information
madame-rachelle authored and coelckers committed May 16, 2017
1 parent c6946cc commit 8192ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p_user.cpp
Expand Up @@ -2159,7 +2159,7 @@ void P_FallingDamage (AActor *actor)
if (damage >= TELEFRAG_DAMAGE && ((actor->player->cheats & (CF_GODMODE | CF_BUDDHA) ||
(actor->FindInventory(PClass::FindActor(NAME_PowerBuddha), true) != nullptr))))
{
damage = 999;
damage = TELEFRAG_DAMAGE - 1;
}
}
P_DamageMobj (actor, NULL, NULL, damage, NAME_Falling);
Expand Down

0 comments on commit 8192ad7

Please sign in to comment.