1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-06 04:17:58 +00:00

fixed cellcount

This commit is contained in:
Zeno Rogue
2020-04-06 09:26:59 +02:00
parent 97fc244ba9
commit b79eb4de1d
3 changed files with 9 additions and 4 deletions

View File

@@ -98,12 +98,11 @@ struct gcell {
int cellid;
#endif
gcell() { cellcount++;
gcell() {
#ifdef CELLID
cellid = cellcount;
#endif
}
~gcell() { cellcount--; }
};
#define landparam LHU.landpar