mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 20:40:47 +00:00
- SW: Repair occasional locked player angle after player stops operating a sector object.
This commit is contained in:
parent
43e447d40b
commit
c86af08a19
1 changed files with 3 additions and 0 deletions
|
@ -5595,6 +5595,9 @@ DoPlayerStopOperate(PLAYERp pp)
|
||||||
pp->q16ang = pp->oq16ang = IntToFixed(pp->remote_sprite->ang);
|
pp->q16ang = pp->oq16ang = IntToFixed(pp->remote_sprite->ang);
|
||||||
else
|
else
|
||||||
pp->q16ang = pp->oq16ang = gethiq16angle(pp->sop_remote->xmid - pp->posx, pp->sop_remote->ymid - pp->posy);
|
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)
|
if (pp->sop_control)
|
||||||
|
|
Loading…
Reference in a new issue