- fixed line portal setups in one-subsector maps.

This commit is contained in:
Christoph Oelckers 2018-10-27 00:47:24 +02:00
parent fa85717155
commit 5cce310f11
1 changed files with 2 additions and 3 deletions

View File

@ -461,9 +461,8 @@ static void GroupLinePortals()
void InitPortalGroups()
{
if (level.nodes.Size() == 0) return;
GroupSectorPortals();
if (level.nodes.Size() > 0)
GroupSectorPortals();
GroupLinePortals();
}