mirror of https://github.com/ZDoom/gzdoom-gles.git
- fixed: The buddha powerup set the wrong flag.
This commit is contained in:
parent
dcc318fdee
commit
edd53f22a1
|
@ -1413,7 +1413,7 @@ void APowerBuddha::InitEffect ()
|
|||
if (Owner== NULL || Owner->player == NULL)
|
||||
return;
|
||||
|
||||
Owner->player->cheats |= CF_FRIGHTENING;
|
||||
Owner->player->cheats |= CF_BUDDHA;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
@ -1429,7 +1429,7 @@ void APowerBuddha::EndEffect ()
|
|||
if (Owner== NULL || Owner->player == NULL)
|
||||
return;
|
||||
|
||||
Owner->player->cheats &= ~CF_FRIGHTENING;
|
||||
Owner->player->cheats &= ~CF_BUDDHA;
|
||||
}
|
||||
|
||||
// Scanner powerup ----------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue