1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-08 04:29:02 +00:00

initialized some variables to silence warnings

This commit is contained in:
Zeno Rogue
2025-08-23 16:57:38 +02:00
parent 8139e65c8e
commit eccb323501
12 changed files with 13 additions and 13 deletions

View File

@@ -542,7 +542,7 @@ EX void generateTreasureIsland(cell *c) {
if(c->wall == waCTree) return;
}
vector<cell*> ctab;
int qlo, qhi;
int qlo = 0, qhi = 0; /* set to 0 to silence warning */
for(int i=0; i<c->type; i++) {
cell *c2 = createMov(c, i);
if(!eubinary) currentmap->extend_altmap(c2->master);