Commit 5b3467af authored by NY00123's avatar NY00123
Browse files

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

parent 6edb2068
......@@ -1336,7 +1336,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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment