1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-31 01:37:57 +00:00

in_wallopt(): auto in racing

This commit is contained in:
Zeno Rogue
2019-12-06 11:45:19 +01:00
parent 4d5928fcc0
commit 99ab57086b
6 changed files with 9 additions and 7 deletions

View File

@@ -581,7 +581,7 @@ struct hrmap_crystal : hrmap_standard {
if(!do_draw(c, V)) continue;
drawcell(c, V);
if(wallopt && isWall3(c) && isize(dq::drawqueue) > 1000) continue;
if(in_wallopt() && isWall3(c) && isize(dq::drawqueue) > 1000) continue;
for(int d=0; d<S7; d++) {
dq::enqueue_by_matrix(h->move(d), V * adj(h, d));