1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-15 06:17:38 +00:00

fixed bugs with manual celllisters

This commit is contained in:
Zeno Rogue
2018-06-28 13:35:03 +02:00
parent d11044a80a
commit cf8dffd6b8
8 changed files with 38 additions and 37 deletions

View File

@@ -60,7 +60,7 @@ bool reptilecheat = false;
#define ONEMPTY if(d == 7 && passable(c, NULL, 0) && !safety)
bool blizzard_no_escape1(cell *c, celllister &cl) {
bool blizzard_no_escape1(cell *c, manual_celllister &cl) {
if(!cl.add(c)) return true;
if(c->item == itOrbSafety)
return false;
@@ -76,7 +76,7 @@ bool blizzard_no_escape1(cell *c, celllister &cl) {
}
bool blizzard_no_escape(cell *c) {
celllister cl(manual);
manual_celllister cl;
return blizzard_no_escape1(c, cl);
}