Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions attack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@ EX bool petrify(cell *c, eWall walltype, eMonster m) {

if(c->land == laWestWall) return false;

if(do_not_touch_this_wall(c)) return false;

if(isWateryOrBoat(c) && c->land == laWhirlpool) {
c->wall = waSea;
return false;
}

if(c->wall == waRoundTable) return false;

if(walltype == waGargoyle && cellUnstableOrChasm(c))
walltype = waGargoyleFloor;
else if(walltype == waGargoyle && isWatery(c))
Expand Down
6 changes: 3 additions & 3 deletions complex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2721,7 +2721,7 @@ EX namespace dragon {
c->monst = moNone;
if(checkOrb(who, itOrbUndeath))
c->monst = moFriendlyGhost;
if(checkOrb(who, itOrbStone))
if(!do_not_touch_this_wall(c) && checkOrb(who, itOrbStone))
c->wparam = m, c->wall = waPetrified;
else if(c->wall == waFire) {
if(delay) delay = false;
Expand Down Expand Up @@ -2993,13 +2993,13 @@ EX namespace kraken {
if(checkOrb(who, itOrbUndeath)) c->monst = moFriendlyGhost;
if(c->land == laKraken && !c->item) c->item = itKraken;
kills[moKrakenH]++;
if(checkOrb(who, itOrbStone)) c->wall = waNone;
if(!do_not_touch_this_wall(c) && checkOrb(who, itOrbStone)) c->wall = waNone;
forCellEx(c1, c)
if(c1->monst == moKrakenT) {
changes.ccell(c1);
drawParticles(c, minf[moKrakenT].color, 16);
c1->monst = moNone;
if(checkOrb(who, itOrbStone)) {
if(!do_not_touch_this_wall(c1) && checkOrb(who, itOrbStone)) {
if(isWatery(c1))
c1->wall = waNone;
else
Expand Down