summaryrefslogtreecommitdiff
path: root/src/map/instance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/instance.c')
-rw-r--r--src/map/instance.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/instance.c b/src/map/instance.c
index a2d363fc9..dd5709452 100644
--- a/src/map/instance.c
+++ b/src/map/instance.c
@@ -13,6 +13,7 @@
#include <time.h>
#include "../config/core.h" // CELL_NOSTACK
+#include "channel.h"
#include "clif.h"
#include "map.h"
#include "npc.h"
@@ -483,7 +484,7 @@ void instance_del_map(int16 m) {
ShowError("map_instance_del: failed to remove %s from instance list (%s): %d\n", map->list[m].name, instance->list[map->list[m].instance_id].name, m);
if( map->list[m].channel )
- clif->chsys_delete(map->list[m].channel);
+ channel->delete(map->list[m].channel);
map->removemapdb(&map->list[m]);
memset(&map->list[m], 0x00, sizeof(map->list[0]));