- SW: Fix regression from 1900cf1fcc where the conversion from GetDeltaAngle() to getincangle() got muddled up.

This commit is contained in:
Mitchell Richters 2020-09-22 20:02:58 +10:00
parent 2bc4291817
commit 77265b3138

View file

@ -8310,9 +8310,9 @@ MissileSeek(int16_t Weapon, int16_t delay_tics, int16_t aware_range/*, int16_t d
hp = &sprite[User[Weapon]->WpnGoal];
// move to correct angle
ang2tgt = getangle(hp->y - sp->y, hp->x - sp->x);
ang2tgt = getangle(hp->x - sp->x, hp->y - sp->y);
delta_ang = getincangle(sp->ang, ang2tgt);
delta_ang = getincangle(ang2tgt, sp->ang);
if (labs(delta_ang) > 32)
{