mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-31 01:37:57 +00:00
Cave transformation is fairer to players
This commit is contained in:
@@ -567,7 +567,8 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
|
||||
forCellEx(c1, c) {
|
||||
changes.ccell(c1);
|
||||
c1->item = itNone;
|
||||
if(c1->wall == waDeadwall || c1->wall == waDeadfloor2) c1->wall = waCavewall;
|
||||
if(c1->wall == waDeadwall) c1->wall = waCavewall;
|
||||
if(c1->wall == waDeadfloor2 && !c1->monst && !isPlayerOn(c1)) c1->wall = waCavewall;
|
||||
if(c1->wall == waDeadfloor) c1->wall = waCavefloor;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user