mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-11 03:41:22 +00:00
- Emergency morph fix
SVN r917 (trunk)
This commit is contained in:
parent
b2bfad0c50
commit
52eeff6db8
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ bool P_UndoPlayerMorph (player_t *player, bool force)
|
|||
mo->flags3 = (mo->flags3 & ~MF3_GHOST) | (pmo->flags3 & MF3_GHOST);
|
||||
|
||||
const PClass *exit_flash = player->MorphExitFlash;
|
||||
bool correctweapon = ((player->MorphStyle & MORPH_LOSEACTUALWEAPON) == 0);
|
||||
bool correctweapon = !!(player->MorphStyle & MORPH_LOSEACTUALWEAPON);
|
||||
|
||||
player->morphTics = 0;
|
||||
player->MorphedPlayerClass = 0;
|
||||
|
|
Loading…
Reference in a new issue