1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 22:36:02 +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

@@ -191,7 +191,7 @@ struct hrmap_asonov : hrmap {
cell *c = h->c7;
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 i=0; i<S7; i++)
dq::enqueue_by_matrix(h->cmove(i), V * adjmatrix(i));