leak file: hack around max portals error
This commit is contained in:
parent
79e4efe157
commit
474b451537
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue