mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
Fixed player falling through narrow notch upon unmorphing
https://forum.zdoom.org/viewtopic.php?t=56230
This commit is contained in:
parent
f73f42c4a6
commit
43fc5633af
1 changed files with 1 additions and 0 deletions
|
@ -267,6 +267,7 @@ bool P_UndoPlayerMorph (player_t *activator, player_t *player, int unmorphflag,
|
|||
mo->Vel.X = mo->Vel.Y = 0;
|
||||
player->Vel.Zero();
|
||||
mo->Vel.Z = pmo->Vel.Z;
|
||||
mo->floorz = pmo->floorz;
|
||||
if (!(pmo->special2 & MF_JUSTHIT))
|
||||
{
|
||||
mo->renderflags &= ~RF_INVISIBLE;
|
||||
|
|
Loading…
Reference in a new issue