- fixed: The buddha powerup set the wrong flag.

This commit is contained in:
Christoph Oelckers 2014-10-25 12:34:46 +02:00
parent dcc318fdee
commit edd53f22a1

View file

@ -1413,7 +1413,7 @@ void APowerBuddha::InitEffect ()
if (Owner== NULL || Owner->player == NULL) if (Owner== NULL || Owner->player == NULL)
return; return;
Owner->player->cheats |= CF_FRIGHTENING; Owner->player->cheats |= CF_BUDDHA;
} }
//=========================================================================== //===========================================================================
@ -1429,7 +1429,7 @@ void APowerBuddha::EndEffect ()
if (Owner== NULL || Owner->player == NULL) if (Owner== NULL || Owner->player == NULL)
return; return;
Owner->player->cheats &= ~CF_FRIGHTENING; Owner->player->cheats &= ~CF_BUDDHA;
} }
// Scanner powerup ---------------------------------------------------------- // Scanner powerup ----------------------------------------------------------