mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
angle_t -> INT32
This commit is contained in:
parent
c5df256d9e
commit
15601d18dd
1 changed files with 1 additions and 1 deletions
|
|
@ -4182,7 +4182,7 @@ Quaketilt (player_t *player)
|
||||||
angle_t tilt;
|
angle_t tilt;
|
||||||
fixed_t lowb; // this threshold for speed
|
fixed_t lowb; // this threshold for speed
|
||||||
angle_t moma = R_PointToAngle2(0, 0, player->mo->momx, player->mo->momy);
|
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;
|
fixed_t speed;
|
||||||
// Hi! I'm "not a math guy"!
|
// Hi! I'm "not a math guy"!
|
||||||
if (abs(delta) > ANGLE_90)
|
if (abs(delta) > ANGLE_90)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue