mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
do not remove the wall at starting point in all bounded geometries
This commit is contained in:
parent
a99e413f25
commit
7c659db68c
9
game.cpp
9
game.cpp
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user