rogueviz:: don't render edges if no endpoints

This commit is contained in:
Zeno Rogue
2026-09-06 15:52:05 +02:00
parent 18abde5b4c
commit 39c47f176c
+1
View File
@@ -584,6 +584,7 @@ void draw_edge(const shiftmatrix &V, cell *c, edgeinfo *ei) {
vertexdata& vd1 = vdata[ei->i];
vertexdata& vd2 = vdata[ei->j];
if(!vd1.m || !vd2.m) return;
int oi = ei->i, oj = ei->j;
bool hilite = false;