1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 07:20:25 +00:00

gp:: fixed Halloween

This commit is contained in:
Zeno Rogue 2018-04-11 18:09:06 +02:00
parent f23dc4b585
commit 4657a76b5d

View File

@ -991,7 +991,14 @@ void giantLandSwitch(cell *c, int d, cell *from) {
case laHalloween: case laHalloween:
if(d == 9) { if(d == 9) {
if(nonbitrunc) { if(gp::on) {
int fv = c->master->fiftyval;
if(fv == 1 || fv == 4 || fv == 10)
c->wall = waChasm;
if(c == c->master->c7 && fv == 3)
c->item = itTreat;
}
else if(nonbitrunc) {
int fv = c->master->fiftyval; int fv = c->master->fiftyval;
if(fv == 1 || fv == 4 || fv == 2) if(fv == 1 || fv == 4 || fv == 2)
c->wall = waChasm; c->wall = waChasm;