From fc50b63d454f59620e0d3ef6674bd9ae54a6175f Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 22 Jan 2015 00:28:24 +0100 Subject: Moved the Hercules Channel System to its own file/interface Signed-off-by: Haru --- src/map/instance.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/instance.c') 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 #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])); -- cgit v1.2.3-60-g2f50