mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 10:48:04 +00:00
enabling Halloween in infinite geometries now produces something that makes sense
This commit is contained in:
@@ -1308,6 +1308,12 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
break;
|
||||
|
||||
case laHalloween:
|
||||
if(!closed_or_bounded) {
|
||||
ONEMPTY {
|
||||
if(hrand(1000) < PT(20, 20)) c->item = itTreat;
|
||||
if(hrand(1000) < 20) c->wall = waChasm;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case laWildWest:
|
||||
|
Reference in New Issue
Block a user