diff --git a/rogueviz/weirdmaze.cpp b/rogueviz/weirdmaze.cpp index ca8eae4e..0eab41d8 100644 --- a/rogueviz/weirdmaze.cpp +++ b/rogueviz/weirdmaze.cpp @@ -27,6 +27,12 @@ int atleast = 1; set visited; bool restrict(cell *c, const shiftmatrix& V) { + + if(atleast == -1) { + c->wall = c->type == 3 ? waWaxWall : waNone; + return false; + } + if(visited.count(c)) return false; visited.insert(c);