rogueviz: missing index

This commit is contained in:
Zeno Rogue 2019-04-22 23:01:27 +02:00
parent fcd9fbbcd2
commit c10939fac6
1 changed files with 2 additions and 1 deletions

View File

@ -1461,13 +1461,14 @@ void drawExtra() {
cell *c = it->first;
c->wall = waChasm;
}
int index = 0;
for(map<cell*, transmatrix>::iterator it = gmatrix.begin(); it != gmatrix.end(); it++) {
cell *c = it->first;
bool draw = true;
for(int i=0; i<isize(named); i++) if(named[i] == c) draw = false;
if(draw && gmatrix.count(c))
queuedisk(it->second, dftcolor, false, NULL);
queuedisk(it->second, dftcolor, false, NULL, index++);
// queuepolyat(it->second, shDisk, dftcolor., PPR::LINE);
}