mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-27 02:20:36 +00:00
ls:: fixed Safety in Ocean/Lost Memory/Space Rocks/Eclectic destroying land generation everywhere
This commit is contained in:
parent
9fbc73025e
commit
7a7af2a536
@ -2087,7 +2087,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case laOcean:
|
case laOcean:
|
||||||
if(d >= 8) c->wall = waSea;
|
if(d >= 8 && d <= 9) c->wall = waSea;
|
||||||
if(d == 7 && !safety) {
|
if(d == 7 && !safety) {
|
||||||
|
|
||||||
if(ls::hv_structure() && c->master->alt && hv_land[c->master->alt->alt] == laWhirlpool) {
|
if(ls::hv_structure() && c->master->alt && hv_land[c->master->alt->alt] == laWhirlpool) {
|
||||||
@ -2541,7 +2541,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
|
|
||||||
case laEclectic: {
|
case laEclectic: {
|
||||||
|
|
||||||
if(d >= 9) c->wall = waChasm;
|
if(d == 9) c->wall = waChasm;
|
||||||
|
|
||||||
if(d == 8) wfc::schedule(c);
|
if(d == 8) wfc::schedule(c);
|
||||||
|
|
||||||
@ -2708,7 +2708,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case laMemory:
|
case laMemory:
|
||||||
if(d >= 7) c->wall = waChasm;
|
if(d >= 7 && d <= 9) c->wall = waChasm;
|
||||||
if(d == 7 && !c->monst && hrand(2000) < 4)
|
if(d == 7 && !c->monst && hrand(2000) < 4)
|
||||||
#if CAP_RACING
|
#if CAP_RACING
|
||||||
if(!racing::on)
|
if(!racing::on)
|
||||||
@ -2717,7 +2717,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case laAsteroids:
|
case laAsteroids:
|
||||||
if(d >= 7) c->wall = waInvisibleFloor;
|
if(d >= 7 && d <= 9) c->wall = waInvisibleFloor;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case laWet:
|
case laWet:
|
||||||
|
Loading…
Reference in New Issue
Block a user