fixed compile errors
[xonotic/netradiant.git] / contrib / prtview / portals.cpp
index e5dea3082cca69a791467d33015e80d59361a54a..d3bef1b6bee63e0f29e90d83a6060b18e9c1daf1 100644 (file)
@@ -247,7 +247,7 @@ void CPortals::Load()
                return;
        }
 
-       if(portal_count < 0)
+       if(portal_count == 0)
        {
                fclose(in);