mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +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