Coplanar areaportal and areaportal_window?

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
Is this... not allowed? I know that if you have, say, two doorways on the same wall and they both have areaportals covering them, they'll be merged into a single one when the map compiles. But if one of them, for some reason, is a func_areaportal_window, does this cause problems? I ask because my latest attempt to compile something is giving me all kinds of "areaportal brush doesn't touch two areas" errors, and after disabling everything except world brushes and areaportals and looking the map over, that's the only reason I can think of.
 

henke37

aa
Sep 23, 2011
2,075
515
If an areaportal and an areaportal_window merge then the engine is in a pickle.
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
It turned out it was a leak; I just saw all those areaportal errors at the bottom and didn't look at the rest of the log because I guess I didn't think it would bother complaining about those if there was a leak.

And it's a moot point anyway because I realized I no longer remembered why I was using an areaportal window in that spot anyway and changed it back to a regular areaportal.