- Emergency morph fix

SVN r917 (trunk)
This commit is contained in:
Christoph Oelckers 2008-04-15 23:03:28 +00:00
parent b2bfad0c50
commit 52eeff6db8
1 changed files with 1 additions and 1 deletions

View File

@ -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;