- fixed: The mugshot's angle was inverted.

This commit is contained in:
Christoph Oelckers 2016-05-11 14:04:21 +02:00
parent d4b258f15b
commit 078e27e61f

View file

@ -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;
} }
} }
} }