Commit 4af08d4e authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Fix stupid typo that broke the camera aiming at the enemy that killed you in Duke3D

parent 87b22277
......@@ -1430,7 +1430,7 @@ ACTOR_STATIC void G_MovePlayers(void)
if (pPlayer->wackedbyactor >= 0 && sprite[pPlayer->wackedbyactor].statnum < MAXSTATUS)
{
pPlayer->q16ang += fix16_to_int(G_GetAngleDelta(pPlayer->q16ang,
pPlayer->q16ang += fix16_from_int(G_GetAngleDelta(fix16_to_int(pPlayer->q16ang),
getangle(sprite[pPlayer->wackedbyactor].x - pPlayer->pos.x,
sprite[pPlayer->wackedbyactor].y - pPlayer->pos.y))
>> 1);
......
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