diff options
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 4677e8753..b1fa2d132 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2403,6 +2403,8 @@ int map_getcellp(struct map_data* m,int x,int y,cell_chk cellchk) return (cell.novending); case CELL_CHKNOCHAT: return (cell.nochat); + case CELL_CHKMAELSTROM: + return (cell.maelstrom); // special checks case CELL_CHKPASS: @@ -2455,6 +2457,7 @@ void map_setcell(int m, int x, int y, cell_t cell, bool flag) case CELL_LANDPROTECTOR: map[m].cell[j].landprotector = flag; break; case CELL_NOVENDING: map[m].cell[j].novending = flag; break; case CELL_NOCHAT: map[m].cell[j].nochat = flag; break; + case CELL_MAELSTROM: map[m].cell[j].maelstrom = flag; break; default: ShowWarning("map_setcell: invalid cell type '%d'\n", (int)cell); break; |