mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-15 20:20:54 +00:00
Fix stupid typo that broke the camera aiming at the enemy that killed you in Duke3D
This commit is contained in:
parent
eaf27c2583
commit
53baf228eb
1 changed files with 1 additions and 1 deletions
|
@ -1411,7 +1411,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);
|
||||
|
|
Loading…
Reference in a new issue