mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
SW: Fix typo in DoPlayerTeleportToSprite, following the migration to q16 angles
This commit is contained in:
parent
4a8ad9b550
commit
a8a47a9eb0
1 changed files with 1 additions and 1 deletions
|
@ -1332,7 +1332,7 @@ DoPlayerTeleportPause(PLAYERp pp)
|
||||||
void
|
void
|
||||||
DoPlayerTeleportToSprite(PLAYERp pp, SPRITEp sp)
|
DoPlayerTeleportToSprite(PLAYERp pp, SPRITEp sp)
|
||||||
{
|
{
|
||||||
pp->q16ang = pp->q16ang = fix16_from_int(sp->ang);
|
pp->q16ang = pp->oq16ang = fix16_from_int(sp->ang);
|
||||||
pp->posx = pp->oposx = pp->oldposx = sp->x;
|
pp->posx = pp->oposx = pp->oldposx = sp->x;
|
||||||
pp->posy = pp->oposy = pp->oldposy = sp->y;
|
pp->posy = pp->oposy = pp->oldposy = sp->y;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue