leak file: hack around max portals error

This commit is contained in:
Eric Wasylishen 2015-08-02 01:19:14 -06:00
parent 79e4efe157
commit 474b451537
1 changed files with 4 additions and 1 deletions

View File

@ -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;