From 8192ad73bd98cef275ded34b063016264e67f4e9 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 16 May 2017 01:58:39 -0400 Subject: [PATCH] - changed fall damage so it is max 'TELEFRAG_DAMAGE - 1' instead of a flat 999 (it used to check for >=1000). --- src/p_user.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_user.cpp b/src/p_user.cpp index 54a0acbaa5..4d9ed3af27 100644 --- a/src/p_user.cpp +++ b/src/p_user.cpp @@ -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);