mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- fixed calculations in AdjusrPlayerAngle.
This commit is contained in:
parent
ec15c7f4c3
commit
d662cece15
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ extend class Actor
|
|||
|
||||
void AdjustPlayerAngle(FTranslatedLineTarget t)
|
||||
{
|
||||
double difference = t.angleFromSource;
|
||||
double difference = deltaangle(angle, t.angleFromSource);
|
||||
if (abs(difference) > MAX_ANGLE_ADJUST)
|
||||
{
|
||||
if (difference > 0)
|
||||
|
|
Loading…
Reference in a new issue