use it for camang

This commit is contained in:
Alug committed 2024-02-01 02:39:27 +01:00
1 parent 2435ec9515
commit fc37cdcc95
1 file changed
+2 -2
+2 -2
View File
@@ -5411,8 +5411,8 @@ void HWR_ProjectSprite(mobj_t *thing)
I_Error("sprframes NULL for sprite %d\n", thing->sprite);
#endif
ang = R_PointToAngle (interp.x, interp.y) - interp.angle;
camang = R_PointToAngle (interp.x, interp.y);
ang = R_PointToAngle(interp.x, interp.y) - interp.angle;
camang = R_PointToPseudoAngle(interp.x, interp.y);
if (mirrored)
ang = InvAngle(ang);