From eebf61b2418a6df201c1cc8cc7dfee7ee18ddbe8 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Wed, 26 Nov 2014 02:20:48 -0200 Subject: AIHOHAAAAAAA (!!!!) addressing susus interfacing thing overlook Signed-off-by: shennetsind --- src/map/map.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src') diff --git a/src/map/map.c b/src/map/map.c index 651c895ec..c379911d3 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2569,7 +2569,7 @@ int map_random_dir(struct block_list *bl, int16 *x, int16 *y) } // gat system -inline static struct mapcell map_gat2cell(int gat) { +struct mapcell map_gat2cell(int gat) { struct mapcell cell; memset(&cell,0,sizeof(struct mapcell)); @@ -2616,9 +2616,6 @@ void map_cellfromcache(struct map_data *m) { // Set cell properties for( xy = 0; xy < size; ++xy ) { m->cell[xy] = map->gat2cell(decode_buffer[xy]); -#ifdef CELL_NOSTACK - m->cell[xy].cell_bl = 0; -#endif } m->getcellp = map->getcellp; @@ -3394,9 +3391,6 @@ int map_readgat (struct map_data* m) type = 3; // Cell is 0 (walkable) but under water level, set to 3 (walkable water) m->cell[xy] = map->gat2cell(type); -#ifdef CELL_NOSTACK - m->cell[xy].cell_bl = 0; -#endif } aFree(gat); -- cgit v1.2.3-70-g09d2