mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +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);
|
||||
if (diffang > 45.)
|
||||
{ // turn face right
|
||||
damage_angle = 0;
|
||||
damage_angle = 2;
|
||||
}
|
||||
else if (diffang < -45.)
|
||||
{ // turn face left
|
||||
damage_angle = 2;
|
||||
damage_angle = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue