diff options
author | shennetsind <ind@henn.et> | 2014-11-26 02:20:48 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-11-26 02:20:48 -0200 |
commit | eebf61b2418a6df201c1cc8cc7dfee7ee18ddbe8 (patch) | |
tree | 5c67c1e8f6c8152b2e5edc4c00959716aa113db3 /src | |
parent | 883ffd90b3021e561616943d210d045fd441ef66 (diff) | |
download | hercules-eebf61b2418a6df201c1cc8cc7dfee7ee18ddbe8.tar.gz hercules-eebf61b2418a6df201c1cc8cc7dfee7ee18ddbe8.tar.bz2 hercules-eebf61b2418a6df201c1cc8cc7dfee7ee18ddbe8.tar.xz hercules-eebf61b2418a6df201c1cc8cc7dfee7ee18ddbe8.zip |
AIHOHAAAAAAA (!!!!) addressing susus interfacing thing overlook
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.c | 8 |
1 files changed, 1 insertions, 7 deletions
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); |