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

do not remove the wall at starting point in all bounded geometries

This commit is contained in:
Zeno Rogue 2017-11-06 19:31:11 +01:00
parent a99e413f25
commit 7c659db68c

View File

@ -2889,6 +2889,7 @@ void bfs() {
} }
bool makeEmpty(cell *c) { bool makeEmpty(cell *c) {
if(c->monst != moPrincess) { if(c->monst != moPrincess) {
if(isAnyIvy(c->monst)) killMonster(c, moPlayer, 0); if(isAnyIvy(c->monst)) killMonster(c, moPlayer, 0);
else if(isWorm(c->monst)) { else if(isWorm(c->monst)) {
@ -2911,17 +2912,17 @@ bool makeEmpty(cell *c) {
c->wall = waBoat; // , c->item = itOrbYendor; c->wall = waBoat; // , c->item = itOrbYendor;
else if(c->land == laMinefield) else if(c->land == laMinefield)
c->wall = waMineOpen; c->wall = waMineOpen;
else if(c->wall == waFan && sphere) else if(c->wall == waFan && bounded)
; ;
else if(c->wall == waOpenPlate && sphere) else if(c->wall == waOpenPlate && bounded)
; ;
else if(c->wall == waGiantRug) else if(c->wall == waGiantRug)
; ;
else if(c->wall == waFreshGrave && (sphere || quotient)) else if(c->wall == waFreshGrave && bounded)
; ;
else if(isReptile(c->wall)) else if(isReptile(c->wall))
c->wparam = reptilemax(); c->wparam = reptilemax();
else if(c->wall == waAncientGrave && sphere) else if(c->wall == waAncientGrave && bounded)
; ;
else else
c->wall = waNone; c->wall = waNone;