- Duke: Fix SE17 elevators after change to player position internals.

This commit is contained in:
Mitchell Richters 2022-11-16 10:56:13 +11:00 committed by Christoph Oelckers
parent bfa7fddcea
commit 4a9775fde7

View file

@ -3001,7 +3001,7 @@ void handle_se17(DDukeActor* actor)
ps[p].truefz += q;
ps[p].truecz += q;
}
if (act1->spr.statnum != STAT_EFFECTOR)
if (act1->spr.statnum != STAT_EFFECTOR && act1->spr.statnum != STAT_PLAYER)
{
act1->spr.pos.Z += q;
}