- SW: Repair occasional locked player angle after player stops operating a sector object.

This commit is contained in:
Mitchell Richters 2020-10-02 19:47:32 +10:00
parent 43e447d40b
commit c86af08a19

View file

@ -5595,6 +5595,9 @@ DoPlayerStopOperate(PLAYERp pp)
pp->q16ang = pp->oq16ang = IntToFixed(pp->remote_sprite->ang);
else
pp->q16ang = pp->oq16ang = gethiq16angle(pp->sop_remote->xmid - pp->posx, pp->sop_remote->ymid - pp->posy);
if (!cl_syncinput)
pp->angTarget = 0;
}
if (pp->sop_control)