1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-01 22:42:59 +00:00

rogueviz:: fixed ascending-descending

This commit is contained in:
Zeno Rogue
2021-03-30 23:00:03 +02:00
parent 05e7a6b717
commit 6a2553ced9
2 changed files with 5 additions and 1 deletions

View File

@@ -571,6 +571,8 @@ void queue_prec(const shiftmatrix& V, edgeinfo*& ei, color_t col) {
#endif
}
int brm_limit = 1000;
bool drawVertex(const shiftmatrix &V, cell *c, shmup::monster *m) {
if(m->dead) return true;
if(m->type != moRogueviz) return false;
@@ -587,7 +589,7 @@ bool drawVertex(const shiftmatrix &V, cell *c, shmup::monster *m) {
bool multidraw = quotient;
bool use_brm = bounded && isize(currentmap->allcells()) <= 1000;
bool use_brm = bounded && isize(currentmap->allcells()) <= brm_limit;
if(!lshiftclick) for(int j=0; j<isize(vd.edges); j++) {
edgeinfo *ei = vd.edges[j].second;