- fixed some bad logic operations.

This commit is contained in:
Christoph Oelckers 2014-10-25 00:01:04 +02:00
commit e81c404b04
3 changed files with 7 additions and 6 deletions

View file

@ -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;
}