angle_t -> INT32

(cherry picked from commit a413e4f701577252f8bc5c401583e84711455ca5)
This commit is contained in:
James R committed 2020-09-27 17:21:40 -07:00
1 parent 99de2b6b66
commit ab0d7f91a1
1 file changed
+1 -1
+1 -1
View File
@@ -8239,7 +8239,7 @@ Quaketilt (player_t *player)
angle_t tilt;
fixed_t lowb; // this threshold for speed
angle_t moma = R_PointToAngle2(0, 0, player->mo->momx, player->mo->momy);
angle_t delta = (INT32)( player->mo->angle - moma );
INT32 delta = (INT32)( player->mo->angle - moma );
fixed_t speed;
// Hi! I'm "not a math guy"!
if (abs(delta) > ANGLE_90)