From c90a099b21d015fedb279aab33602106a235d670 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 18 Jan 2015 19:46:48 +0100 Subject: Follow-up to 83077740c7c996d198617d45a1916cd31ff38e9a Fixed compile error in instance.c Signed-off-by: Haru --- src/map/instance.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/instance.c') diff --git a/src/map/instance.c b/src/map/instance.c index 168a03da6..890d455ff 100644 --- a/src/map/instance.c +++ b/src/map/instance.c @@ -12,6 +12,7 @@ #include #include +#include "../config/core.h" // CELL_NOSTACK #include "clif.h" #include "map.h" #include "npc.h" @@ -207,7 +208,9 @@ int instance_add_map(const char *name, int instance_id, bool usebasename, const // Appropriately clear cell data for(j = 0; j < num_cell; j++) { +#ifdef CELL_NOSTACK map->list[im].cell[j].cell_bl = 0; +#endif // CELL_NOSTACK map->list[im].cell[j].basilica = 0; map->list[im].cell[j].icewall = 0; map->list[im].cell[j].npc = 0; -- cgit v1.2.3-60-g2f50