mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
changed reptilecheat in Ice
This commit is contained in:
parent
1a3e676310
commit
5a7f789d8c
@ -824,9 +824,9 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case laIce:
|
case laIce:
|
||||||
if(d == 9 && !reptilecheat) {
|
if(d == 9) {
|
||||||
if(randomPatternsMode) c->wall = RANDPAT ? waIcewall : waNone;
|
if(randomPatternsMode) c->wall = RANDPAT ? waIcewall : waNone;
|
||||||
else if(hrand(100) < 5 && c->wall != waBarrier) {
|
else if(hrand(100) < 5 && c->wall != waBarrier && (WDIM == 3 || !reptilecheat)) {
|
||||||
c->wall = waIcewall;
|
c->wall = waIcewall;
|
||||||
for(int i=0; i<c->type; i++) if(hrand(100) < 50) {
|
for(int i=0; i<c->type; i++) if(hrand(100) < 50) {
|
||||||
cell *c2 = createMov(c, i);
|
cell *c2 = createMov(c, i);
|
||||||
|
Loading…
Reference in New Issue
Block a user