- Added MORPH_UNDOALWAYS for morph powerups.

This commit is contained in:
MajorCooke 2015-04-03 12:16:27 -05:00
commit 087d564343
4 changed files with 4 additions and 1 deletions

View file

@ -1922,7 +1922,7 @@ void APowerMorph::EndEffect( )
if (!bNoCallUndoMorph)
{
int savedMorphTics = Player->morphTics;
P_UndoPlayerMorph (Player, Player);
P_UndoPlayerMorph (Player, Player, 0, !!(Player->MorphStyle & MORPH_UNDOALWAYS));
// Abort if unmorph failed; in that case,
// set the usual retry timer and return.