mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +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);
|
mo->flags3 = (mo->flags3 & ~MF3_GHOST) | (pmo->flags3 & MF3_GHOST);
|
||||||
|
|
||||||
const PClass *exit_flash = player->MorphExitFlash;
|
const PClass *exit_flash = player->MorphExitFlash;
|
||||||
bool correctweapon = ((player->MorphStyle & MORPH_LOSEACTUALWEAPON) == 0);
|
bool correctweapon = !!(player->MorphStyle & MORPH_LOSEACTUALWEAPON);
|
||||||
|
|
||||||
player->morphTics = 0;
|
player->morphTics = 0;
|
||||||
player->MorphedPlayerClass = 0;
|
player->MorphedPlayerClass = 0;
|
||||||
|
|
Loading…
Reference in a new issue