1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00

added CAP_EDIT guards to arbitrile

This commit is contained in:
Zeno Rogue 2020-05-22 16:52:02 +02:00
parent 90cfc59c88
commit 8a28d1483b

View File

@ -85,6 +85,7 @@ void ensure_geometry(eGeometryClass c) {
}
void start_poly_debugger(hr_polygon_error& err) {
#if CAP_EDIT
ensure_geometry(err.c);
drawthemap();
@ -103,6 +104,7 @@ void start_poly_debugger(hr_polygon_error& err) {
mapeditor::dtcolor = 0xFFFFFFFF;
for(int i=0; i<n; i++)
mapeditor::dt_add_text(tC0(err.v[i]), 0.5, its(i));
#endif
}
void shape::build_from_angles_edges() {