mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
- fixed: The portal init code should only delete REJECT if there's actually some portals to consider.
This commit is contained in:
parent
19003a7973
commit
b926cf35d5
1 changed files with 1 additions and 1 deletions
|
@ -1111,7 +1111,7 @@ void P_CreateLinkedPortals()
|
|||
}
|
||||
|
||||
// reject would just get in the way when checking sight through portals.
|
||||
if (rejectmatrix != NULL)
|
||||
if (Displacements.size > 1 && rejectmatrix != NULL)
|
||||
{
|
||||
delete[] rejectmatrix;
|
||||
rejectmatrix = NULL;
|
||||
|
|
Loading…
Reference in a new issue