mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Fixed crash in line portal setup
https://mantis.zdoom.org/view.php?id=488
This commit is contained in:
parent
bc95e5180d
commit
5f44bc4d5f
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ static void BuildBlockmap()
|
||||||
|
|
||||||
void FLinePortalTraverse::AddLineIntercepts(int bx, int by)
|
void FLinePortalTraverse::AddLineIntercepts(int bx, int by)
|
||||||
{
|
{
|
||||||
if (by < 0 || by >= PortalBlockmap.dx || bx < 0 || bx >= PortalBlockmap.dy) return;
|
if (by < 0 || by >= PortalBlockmap.dy || bx < 0 || bx >= PortalBlockmap.dx) return;
|
||||||
|
|
||||||
FPortalBlock &block = PortalBlockmap(bx, by);
|
FPortalBlock &block = PortalBlockmap(bx, by);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue