mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
fix mbf21 A_FindTracer fov cone being twice as big as intended
This commit is contained in:
parent
efbb31fa39
commit
0d8d4a2ad7
1 changed files with 3 additions and 1 deletions
|
@ -198,7 +198,9 @@ extend class Actor
|
|||
//
|
||||
void A_FindTracer(double fov, int dist)
|
||||
{
|
||||
if (!tracer) tracer = RoughMonsterSearch(dist, fov: fov);
|
||||
// note: mbf21 fov is the angle of the entire cone, while
|
||||
// zdoom fov is defined as 1/2 of the cone, so halve it.
|
||||
if (!tracer) tracer = RoughMonsterSearch(dist, fov: fov/2);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue