mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 00:21:34 +00:00
- changed fall damage so it is max 'TELEFRAG_DAMAGE - 1' instead of a flat 999 (it used to check for >=1000).
This commit is contained in:
parent
c6946cc672
commit
8192ad73bd
1 changed files with 1 additions and 1 deletions
|
@ -2159,7 +2159,7 @@ void P_FallingDamage (AActor *actor)
|
||||||
if (damage >= TELEFRAG_DAMAGE && ((actor->player->cheats & (CF_GODMODE | CF_BUDDHA) ||
|
if (damage >= TELEFRAG_DAMAGE && ((actor->player->cheats & (CF_GODMODE | CF_BUDDHA) ||
|
||||||
(actor->FindInventory(PClass::FindActor(NAME_PowerBuddha), true) != nullptr))))
|
(actor->FindInventory(PClass::FindActor(NAME_PowerBuddha), true) != nullptr))))
|
||||||
{
|
{
|
||||||
damage = 999;
|
damage = TELEFRAG_DAMAGE - 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
P_DamageMobj (actor, NULL, NULL, damage, NAME_Falling);
|
P_DamageMobj (actor, NULL, NULL, damage, NAME_Falling);
|
||||||
|
|
Loading…
Reference in a new issue