mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- fixed last commit.
This commit is contained in:
parent
677efb73bc
commit
eff03d13f0
1 changed files with 2 additions and 1 deletions
|
@ -76,6 +76,7 @@
|
||||||
#include "d_player.h"
|
#include "d_player.h"
|
||||||
#include "p_maputl.h"
|
#include "p_maputl.h"
|
||||||
#include "p_spec.h"
|
#include "p_spec.h"
|
||||||
|
#include "templates.h"
|
||||||
#include "math/cmath.h"
|
#include "math/cmath.h"
|
||||||
|
|
||||||
AActor *SingleActorFromTID(int tid, AActor *defactor);
|
AActor *SingleActorFromTID(int tid, AActor *defactor);
|
||||||
|
@ -4501,7 +4502,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_JumpIfTargetInLOS)
|
||||||
else { target = viewport; viewport = self; }
|
else { target = viewport; viewport = self; }
|
||||||
}
|
}
|
||||||
|
|
||||||
fov = MIN(fov, 360.);
|
fov = MIN<DAngle>(fov, 360.);
|
||||||
|
|
||||||
if (fov > 0)
|
if (fov > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue