- Added: BUDDHA and FOILBUDDHA.

- Fixed: mugshot didn't take the god2 cheat into account.
This commit is contained in:
MajorCooke 2014-10-24 23:09:39 -05:00 committed by Christoph Oelckers
commit d1dc6fd59a
4 changed files with 40 additions and 27 deletions

View file

@ -444,7 +444,7 @@ int FMugShot::UpdateState(player_t *player, StateFlags stateflags)
if (bNormal)
{
bool good;
if ((player->cheats & CF_GODMODE) || (player->mo != NULL && player->mo->flags2 & MF2_INVULNERABLE))
if ((player->cheats & CF_GODMODE) || (player->cheats & CF_GODMODE2) || (player->mo != NULL && player->mo->flags2 & MF2_INVULNERABLE))
{
good = SetState((stateflags & ANIMATEDGODMODE) ? "godanimated" : "god");
}