1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 19:18:05 +00:00

fixed smart_range in Archimedean and binary tilings

This commit is contained in:
Zeno Rogue
2018-11-06 16:03:20 +01:00
parent b0151eabe4
commit ade8bda5f9
3 changed files with 18 additions and 10 deletions

View File

@@ -626,7 +626,9 @@ void draw() {
int S = isize(current.triangles[id]);
if(id < 2*current.N ? !DUAL : !PURE) {
if(!dodrawcell(h->c7)) continue;
if(vid.use_smart_range == 0 && !dodrawcell(h->c7)) continue;
if(vid.use_smart_range && idx > 50 && !in_smart_range(V)) continue;
if(vid.use_smart_range == 2) setdist(h->c7, 7, h->c7);
drawcell(h->c7, V, 0, false);
}