mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-10 19:31:42 +00:00
rogueviz:: don't render edges if no endpoints
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user