summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-11-16 02:01:19 +0100
committerHaru <haru@dotalux.com>2014-11-16 07:16:22 +0100
commite331a9aac2ff6d567ca65961c861dbae361172da (patch)
treed1c276b906e05000f8904a141d638981857378cd /src
parentb94748da3c309e40517cef81a65cd1e51971f14f (diff)
downloadhercules-e331a9aac2ff6d567ca65961c861dbae361172da.tar.gz
hercules-e331a9aac2ff6d567ca65961c861dbae361172da.tar.bz2
hercules-e331a9aac2ff6d567ca65961c861dbae361172da.tar.xz
hercules-e331a9aac2ff6d567ca65961c861dbae361172da.zip
Moved duel_s into duel.c
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src')
-rw-r--r--src/map/duel.c2
-rw-r--r--src/map/duel.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/map/duel.c b/src/map/duel.c
index 4e4eeef1f..0ae2770c4 100644
--- a/src/map/duel.c
+++ b/src/map/duel.c
@@ -16,6 +16,8 @@
#include "pc.h"
#include "../common/cbasetypes.h"
+struct duel_interface duel_s;
+
/*==========================================
* Duel organizing functions [LuzZza]
*------------------------------------------*/
diff --git a/src/map/duel.h b/src/map/duel.h
index de2bd1bf6..e88f6ec4e 100644
--- a/src/map/duel.h
+++ b/src/map/duel.h
@@ -40,7 +40,7 @@ struct duel_interface {
void (*init) (bool minimal);
void (*final) (void);
-} duel_s;
+};
struct duel_interface *duel;