mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-21 11:11:16 +00:00
- Convert delta test in PlayerAngle::processhelpers()
to degrees, missed during cf2788b14b3d5c2e0533ad4cdc7912253848a5b9.
This commit is contained in:
parent
69dff8658f
commit
bd7a004c4c
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "interphelpers.h"
|
||||
#include "gamecvars.h"
|
||||
#include "gamestruct.h"
|
||||
#include "gamefuncs.h"
|
||||
#include "packet.h"
|
||||
|
||||
struct PlayerHorizon
|
||||
|
@ -188,7 +189,7 @@ struct PlayerAngle
|
|||
{
|
||||
auto delta = deltaangle(ang, target).Degrees();
|
||||
|
||||
if (abs(delta) > 1)
|
||||
if (abs(delta) > BAngToDegree)
|
||||
{
|
||||
ang += DAngle::fromDeg(scaleAdjust * delta);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue