fixed the warnings about comparing int and bool

This commit is contained in:
Zeno Rogue committed 2018-07-07 11:05:48 +02:00
1 parent 8b35bf6d4b
commit 98ea11de86
5 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -3461,7 +3461,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
// if(behindsphere(V)) return;
if(callhandlers(0, hooks_drawcell, c, V)) return;
if(callhandlers(false, hooks_drawcell, c, V)) return;
ld dist0 = hdist0(tC0(V)) - 1e-6;
if(dist0 < geom3::highdetail) detaillevel = 2;