qbsp: add coordinates to "New portal was clipped away" warning, from txqbsp-xt

This commit is contained in:
Eric Wasylishen 2015-10-26 12:58:25 -06:00
parent cf4adf1d59
commit a5a2de6c6f
2 changed files with 5 additions and 2 deletions

View File

@ -135,7 +135,7 @@ const char *rgszWarnings[cWarnings] = {
"Reached occupant at (%.0f %.0f %.0f), no filling performed.",
"Portal siding direction is wrong",
"New portal was clipped away in CutNodePortals_r",
"New portal was clipped away in CutNodePortals_r near (%.3f %.3f %.3f)",
"Winding outside node",
"Winding with area %f",
"%s isn't a wadfile",

View File

@ -580,7 +580,10 @@ CutNodePortals_r(node_t *node)
winding = ClipWinding(winding, &clipplane, true);
if (!winding) {
Message(msgWarning, warnPortalClippedAway);
Message(msgWarning, warnPortalClippedAway,
portal->winding->points[0][0],
portal->winding->points[0][1],
portal->winding->points[0][2]);
break;
}
}