- fixed some bad logic operations.
This commit is contained in:
parent
e28234a8b8
commit
e81c404b04
3 changed files with 7 additions and 6 deletions
|
|
@ -1672,7 +1672,7 @@ void P_PoisonDamage (player_t *player, AActor *source, int damage,
|
|||
target->health -= damage;
|
||||
if (target->health <= 0)
|
||||
{ // Death
|
||||
if (player->cheats & CF_BUDDHA)
|
||||
if (player->cheats & CF_BUDDHA && damage < TELEFRAG_DAMAGE)
|
||||
{ // [SP] Save the player...
|
||||
player->health = target->health = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue