summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-04-09 12:07:58 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-04-09 12:07:58 +0000
commit94da412fe250304a371605e6bf4a08ef1ca2fd3b (patch)
tree09cf3fea3c2dcbb39d41441eef538427f2e623d0 /src/map/map.c
parentf75cd63e74884bfb8ee5f59717d8e37671948af6 (diff)
downloadhercules-94da412fe250304a371605e6bf4a08ef1ca2fd3b.tar.gz
hercules-94da412fe250304a371605e6bf4a08ef1ca2fd3b.tar.bz2
hercules-94da412fe250304a371605e6bf4a08ef1ca2fd3b.tar.xz
hercules-94da412fe250304a371605e6bf4a08ef1ca2fd3b.zip
* Moved duel code into a separate file.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14785 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 9f9c93608..5ee01bc6d 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -17,6 +17,7 @@
#include "path.h"
#include "chrif.h"
#include "clif.h"
+#include "duel.h"
#include "intif.h"
#include "npc.h"
#include "pc.h"
@@ -3438,6 +3439,7 @@ void do_final(void)
do_final_status();
do_final_unit();
do_final_battleground();
+ do_final_duel();
map_db->destroy(map_db, map_db_final);
@@ -3673,6 +3675,7 @@ int do_init(int argc, char *argv[])
do_init_npc();
do_init_unit();
do_init_battleground();
+ do_init_duel();
npc_event_do_oninit(); // npcのOnInitイベント?行