SW: Fix typo in DoPlayerTeleportToSprite, following the migration to q16 angles

This commit is contained in:
NY00123 2020-04-04 00:35:10 +03:00 committed by Christoph Oelckers
parent 4a8ad9b550
commit a8a47a9eb0

View file

@ -1332,7 +1332,7 @@ DoPlayerTeleportPause(PLAYERp pp)
void
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->posy = pp->oposy = pp->oldposy = sp->y;