- Duke: Backport EDuke32 commit ac64e11553344084753cdd75abd898ec2c725a16 to fix buggy swinging doors, most apparent on E4L1.

This commit is contained in:
Mitchell Richters 2021-01-02 23:41:03 +11:00
parent 617dc8001c
commit 86bb6b1cdc

View file

@ -3685,11 +3685,6 @@ void handle_se11(DDukeActor *actor)
if (ac->GetOwner() && clipinsidebox(sk->x, sk->y, j, 144L) == 1)
{
t[5] = 8; // Delay
int k = (s->yvel >> 3) * t[3];
t[2] -= k;
t[4] -= k;
ms(actor);
setsprite(actor, s->pos);
return;
}
}