qbsp: add coordinates to "New portal was clipped away" warning, from txqbsp-xt
This commit is contained in:
parent
cf4adf1d59
commit
a5a2de6c6f
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue