- re-fix of r3655: 180° in angle_t needs to be specified as ANGLE_180.

SVN r3656 (trunk)
This commit is contained in:
Christoph Oelckers 2012-05-15 22:33:08 +00:00
parent 0fae305224
commit 6d993b8c04

View file

@ -1837,7 +1837,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_LookEx)
AActor *targ = NULL; // Shuts up gcc
fixed_t dist;
angle_t fov = (fov_f == 0) ? 180 : angle_t(fov_f * ANGLE_90 / 90);
angle_t fov = (fov_f == 0) ? ANGLE_180 : angle_t(fov_f * ANGLE_90 / 90);
FLookExParams params = { fov, minseedist, maxseedist, maxheardist, flags, seestate };
if (self->flags5 & MF5_INCONVERSATION)