From 6064cd97c66f5471cebe3ab7d41711233ee711e3 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 23 Mar 2012 07:57:51 +0000 Subject: 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 --- src/map/map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/map.c') 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: -- cgit v1.2.3-70-g09d2