- fixed: P_RoughMonsterSearch did not pass the fov parameter to its worker functions.

This commit is contained in:
Christoph Oelckers 2021-08-10 18:04:10 +02:00
parent 61739b4086
commit 4cee567b23

View file

@ -1848,6 +1848,7 @@ AActor *P_RoughMonsterSearch(AActor *mo, int distance, bool onlyseekable, bool f
{ {
BlockCheckInfo info; BlockCheckInfo info;
info.onlyseekable = onlyseekable; info.onlyseekable = onlyseekable;
info.fov = fov;
if ((info.frontonly = frontonly)) if ((info.frontonly = frontonly))
{ {
info.frontline.x = mo->X(); info.frontline.x = mo->X();