summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-23 07:57:51 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-23 07:57:51 +0000
commit6064cd97c66f5471cebe3ab7d41711233ee711e3 (patch)
tree2952ec6b9a22d8e8ab0f1f0647c7ad164a3f257e /src/map/map.c
parent9b68ab5698a641e9ffa8b1f90cd0c5edfa6ce812 (diff)
downloadhercules-6064cd97c66f5471cebe3ab7d41711233ee711e3.tar.gz
hercules-6064cd97c66f5471cebe3ab7d41711233ee711e3.tar.bz2
hercules-6064cd97c66f5471cebe3ab7d41711233ee711e3.tar.xz
hercules-6064cd97c66f5471cebe3ab7d41711233ee711e3.zip
Fixed bugreport:3574 Ice Walls finally are able to stop mobs chasing caster, and they now act as walls meaning mobs will not turn around to attack you unless they were already chasing you
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15777 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 8fe860995..dadc0e4e8 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2493,13 +2493,13 @@ int map_getcellp(struct map_data* m,int x,int y,cell_chk cellchk)
// base gat type checks
case CELL_CHKWALL:
return (!cell.walkable && !cell.shootable);
- //return (map_cell2gat(cell) == 1);
+
case CELL_CHKWATER:
return (cell.water);
- //return (map_cell2gat(cell) == 3);
+
case CELL_CHKCLIFF:
return (!cell.walkable && cell.shootable);
- //return (map_cell2gat(cell) == 5);
+
// base cell type checks
case CELL_CHKNPC: