summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-10-26 22:28:30 +0100
committerMichieru <Michieru@users.noreply.github.com>2014-10-26 22:28:30 +0100
commit3904b3a935395d9f0d9ac2864e6fa34863c630c2 (patch)
tree331327722be106086f91ef266d630df53ccefee5 /src/map/map.c
parent468e13d4d12dadc9b2a1666f6d2303e30cf93d82 (diff)
downloadhercules-3904b3a935395d9f0d9ac2864e6fa34863c630c2.tar.gz
hercules-3904b3a935395d9f0d9ac2864e6fa34863c630c2.tar.bz2
hercules-3904b3a935395d9f0d9ac2864e6fa34863c630c2.tar.xz
hercules-3904b3a935395d9f0d9ac2864e6fa34863c630c2.zip
- Can't cast icewall more than once on the same center cell. Special thanks to Ind
- Service for you now work properly on all skill level. - Fixed a problem that sometimes randomly a status change was removed on logout although it shouldn't. Special thanks to Playtester
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 5fa8779eb..045233e91 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2586,6 +2586,8 @@ int map_getcellp(struct map_data* m,int16 x,int16 y,cell_chk cellchk) {
return (cell.nochat);
case CELL_CHKICEWALL:
return (cell.icewall);
+ case CELL_CHKNOICEWALL:
+ return (cell.noicewall);
// special checks
case CELL_CHKPASS:
@@ -2645,6 +2647,8 @@ void map_setcell(int16 m, int16 x, int16 y, cell_t cell, bool flag) {
case CELL_NOVENDING: map->list[m].cell[j].novending = flag; break;
case CELL_NOCHAT: map->list[m].cell[j].nochat = flag; break;
case CELL_ICEWALL: map->list[m].cell[j].icewall = flag; break;
+ case CELL_NOICEWALL: map->list[m].cell[j].noicewall = flag; break;
+
default:
ShowWarning("map_setcell: invalid cell type '%d'\n", (int)cell);
break;