- Added buddha cheat.

SVN r1756 (trunk)
This commit is contained in:
Randy Heit 2009-08-07 04:08:38 +00:00
commit f9088bd2cf
8 changed files with 53 additions and 13 deletions

View file

@ -1820,7 +1820,7 @@ void P_FallingDamage (AActor *actor)
{
S_Sound (actor, CHAN_AUTO, "*land", 1, ATTN_NORM);
P_NoiseAlert (actor, actor, true);
if (damage == 1000000 && (actor->player->cheats & CF_GODMODE))
if (damage == 1000000 && (actor->player->cheats & (CF_GODMODE | CF_BUDDHA)))
{
damage = 999;
}