mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 16:07:40 +00:00
- fixed: The buddha powerup set the wrong flag.
This commit is contained in:
parent
dcc318fdee
commit
edd53f22a1
1 changed files with 2 additions and 2 deletions
|
@ -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 ----------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue