mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Make player->speed use R_PointToDist2
This commit is contained in:
parent
b899610f0f
commit
59f7b40497
1 changed files with 1 additions and 1 deletions
|
|
@ -5924,7 +5924,7 @@ static void P_3dMovement(player_t *player)
|
|||
player->rmomy = player->mo->momy - player->cmomy;
|
||||
|
||||
// Calculates player's speed based on distance-of-a-line formula
|
||||
player->speed = P_AproxDistance(player->rmomx, player->rmomy);
|
||||
player->speed = R_PointToDist2(0, 0, player->rmomx, player->rmomy);
|
||||
|
||||
// Monster Iestyn - 04-11-13
|
||||
// Quadrants are stupid, excessive and broken, let's do this a much simpler way!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue