- Added MORPH_UNDOALWAYS for morph powerups.
This commit is contained in:
parent
6c603b3c78
commit
087d564343
4 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue