mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Fixed sight check after blockmap refactoring
https://mantis.zdoom.org/view.php?id=446
This commit is contained in:
parent
f3ae144525
commit
4557f751c8
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ bool SightCheck::P_SightPathTraverse ()
|
|||
{
|
||||
// end traversing when reaching the end of the blockmap
|
||||
// an early out is not possible because with portals a trace can easily land outside the map's bounds.
|
||||
if (level.blockmap.isValidBlock(mapx, mapy))
|
||||
if (!level.blockmap.isValidBlock(mapx, mapy))
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue