- Missed a few CF_POWERBUDDHA references.

This commit is contained in:
Rachael Alexanderson 2017-05-16 04:10:46 -04:00
parent a93efb1e9e
commit 625fc73f28
2 changed files with 0 additions and 21 deletions

View File

@ -1114,7 +1114,6 @@ enum EPlayerCheats
CF_BUDDHA2 = 1 << 24, // [MC] Absolute buddha. No voodoo can kill it either.
CF_GODMODE2 = 1 << 25, // [MC] Absolute godmode. No voodoo can kill it either.
CF_BUDDHA = 1 << 27, // [SP] Buddha mode - take damage, but don't die
CF_POWERBUDDHA = 1 << 28, // [MC] Powerup version of Buddha to prevent interference with actual cheat.
CF_NOCLIP2 = 1 << 30, // [RH] More Quake-like noclip
// These flags no longer exist, but keep the names for some stray mod that might have used them.

View File

@ -1450,26 +1450,6 @@ class PowerBuddha : Powerup
{
Powerup.Duration -60;
}
override void InitEffect ()
{
Super.InitEffect();
if (Owner== null || Owner.player == null)
return;
Owner.player.cheats |= CF_POWERBUDDHA;
}
override void EndEffect ()
{
Super.EndEffect();
if (Owner== null || Owner.player == null)
return;
Owner.player.cheats &= ~CF_POWERBUDDHA;
}
}
//===========================================================================