mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- fixed: The mugshot's angle was inverted.
This commit is contained in:
parent
d4b258f15b
commit
078e27e61f
1 changed files with 2 additions and 2 deletions
|
@ -367,11 +367,11 @@ int FMugShot::UpdateState(player_t *player, StateFlags stateflags)
|
||||||
DAngle diffang = deltaangle(player->mo->Angles.Yaw, badguyangle);
|
DAngle diffang = deltaangle(player->mo->Angles.Yaw, badguyangle);
|
||||||
if (diffang > 45.)
|
if (diffang > 45.)
|
||||||
{ // turn face right
|
{ // turn face right
|
||||||
damage_angle = 0;
|
damage_angle = 2;
|
||||||
}
|
}
|
||||||
else if (diffang < -45.)
|
else if (diffang < -45.)
|
||||||
{ // turn face left
|
{ // turn face left
|
||||||
damage_angle = 2;
|
damage_angle = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue