From 52eeff6db8e2a2639c29213fd47519558ffa6f13 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 15 Apr 2008 23:03:28 +0000 Subject: [PATCH] - Emergency morph fix SVN r917 (trunk) --- src/g_shared/a_morph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_shared/a_morph.cpp b/src/g_shared/a_morph.cpp index d46c2e13e..d0fd94acd 100644 --- a/src/g_shared/a_morph.cpp +++ b/src/g_shared/a_morph.cpp @@ -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;