From 582fe235f042e2fb0b033b75610457bfc8cd145a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 8 Mar 2019 22:41:16 +0100 Subject: [PATCH] fixed crash in masterless (no draw items) --- graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index 5e4dbcfd..793d49bd 100644 --- a/graph.cpp +++ b/graph.cpp @@ -681,7 +681,7 @@ bool drawItemType(eItem it, cell *c, const transmatrix& V, color_t icol, int pti if(c && doHighlight()) poly_outline = kind_outline(it); - if(c == viewctr.at->c7 && DIM == 3) return false; + if(DIM == 3 && c == viewctr.at->c7) return false; #if MAXMDIM >= 4 if(c && DIM == 3) radarpoints.emplace_back(radarpoint{makeradar(V), iinf[it].glyph, icol, kind_outline(it)});