- Added fix for Heretic IDKFA cheat by Karate Chris.

- Added fix for Strife's AlienSpectre obituary by Karate Chris.


SVN r674 (trunk)
This commit is contained in:
Christoph Oelckers 2008-01-07 08:58:18 +00:00
commit 9cdd0b98ce
3 changed files with 6 additions and 1 deletions

View file

@ -299,7 +299,7 @@ void cht_DoCheat (player_t *player, int cheat)
break;
case CHT_TAKEWEAPS:
if (player->morphTics || player->mo != NULL)
if (player->morphTics || player->mo == NULL || player->mo->health <= 0)
{
return;
}