Join wall spines with walls of water and lava

This commit is contained in:
Pasi Kallinen
2024-07-09 18:08:19 +03:00
parent ee08c05e03
commit cf44c3046e
2 changed files with 4 additions and 0 deletions

View File

@@ -1438,6 +1438,7 @@ using #loot -> 'i'n to put multiple items into a shop-owned container would
'q' to not sell the current one or any beyond it, but the sell vs
don't-sell state was being reset for each item so 'a' and 'q' didn't
stick beyond the current one
join wall "spines" with walls of water and lava
Fixes to 3.7.0-x General Problems Exposed Via git Repository

View File

@@ -40,6 +40,7 @@ staticfn boolean is_exclusion_zone(xint16, coordxy, coordxy);
} \
} while (0)
/* used to determine if wall spines can join this location */
staticfn int
iswall(coordxy x, coordxy y)
{
@@ -49,9 +50,11 @@ iswall(coordxy x, coordxy y)
return 0;
type = levl[x][y].typ;
return (IS_WALL(type) || IS_DOOR(type)
|| type == LAVAWALL || type == WATER
|| type == SDOOR || type == IRONBARS);
}
/* used to determine if wall spines can join this location */
staticfn int
iswall_or_stone(coordxy x, coordxy y)
{