mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 08:23:08 +00:00
fixed the warnings about comparing int and bool
This commit is contained in:
1 parent
8b35bf6d4b
commit
98ea11de86
5 files changed
+11
-9
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user