From 474b4515370df8d3a5e74d7ea8d3cb6d97ffc35e Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sun, 2 Aug 2015 01:19:14 -0600 Subject: [PATCH] leak file: hack around max portals error --- qbsp/outside.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qbsp/outside.c b/qbsp/outside.c index c14dce2d..e9a5252e 100644 --- a/qbsp/outside.c +++ b/qbsp/outside.c @@ -177,7 +177,10 @@ MarkLeakTrail(leakstate_t *leak, const portal_t *portal2) const portal_t *portal1; if (leak->numportals >= leak->maxportals) - Error("Internal error: numportals > maxportals (%s)", __func__); + { + Message(msgLiteral, "Internal error: numportals > maxportals (%s)\n", __func__); + return; + } leak->portals[leak->numportals++] = portal2;