mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
- slightly increase source code readability by moving a flag from one line to another.
This commit is contained in:
parent
8192ad73bd
commit
a93efb1e9e
1 changed files with 2 additions and 2 deletions
|
@ -1898,8 +1898,8 @@ void P_PoisonDamage (player_t *player, AActor *source, int damage, bool playPain
|
|||
target->health -= damage;
|
||||
if (target->health <= 0)
|
||||
{ // Death
|
||||
if ((((player->cheats & CF_BUDDHA) ||
|
||||
(player->mo->flags7 & MF7_BUDDHA)) && damage < TELEFRAG_DAMAGE) || (player->cheats & CF_BUDDHA2) ||
|
||||
if ((((player->cheats & CF_BUDDHA) || (player->cheats & CF_BUDDHA2) ||
|
||||
(player->mo->flags7 & MF7_BUDDHA)) && damage < TELEFRAG_DAMAGE) ||
|
||||
(player->mo->FindInventory (PClass::FindActor(NAME_PowerBuddha),true) != nullptr))
|
||||
{ // [SP] Save the player...
|
||||
player->health = target->health = 1;
|
||||
|
|
Loading…
Reference in a new issue