mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
- re-fix of r3655: 180° in angle_t needs to be specified as ANGLE_180.
SVN r3656 (trunk)
This commit is contained in:
parent
0fae305224
commit
6d993b8c04
1 changed files with 1 additions and 1 deletions
|
@ -1837,7 +1837,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_LookEx)
|
||||||
|
|
||||||
AActor *targ = NULL; // Shuts up gcc
|
AActor *targ = NULL; // Shuts up gcc
|
||||||
fixed_t dist;
|
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 };
|
FLookExParams params = { fov, minseedist, maxseedist, maxheardist, flags, seestate };
|
||||||
|
|
||||||
if (self->flags5 & MF5_INCONVERSATION)
|
if (self->flags5 & MF5_INCONVERSATION)
|
||||||
|
|
Loading…
Reference in a new issue