summaryrefslogtreecommitdiff
path: root/src/map/instance.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-01-24 14:38:39 +0100
committerHaruna <haru@dotalux.com>2015-01-24 14:38:39 +0100
commit6f3a82487fdffabf221a9a2dfc5ace027c333f95 (patch)
tree76f2ba97a955d0724949b5f233a81bcd4ea8cf52 /src/map/instance.c
parenta75714ca455c728d34918dd12200fcec87ebc0d4 (diff)
parent28eda3cd3dd7f8031668fdd8ba463e5661246348 (diff)
downloadhercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.tar.gz
hercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.tar.bz2
hercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.tar.xz
hercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.zip
Merge pull request #452 from HerculesWS/channel_refactor
Hercules Channel System refactor
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]));