summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-02-25 00:32:06 +0300
committerAndrei Karas <akaras@inbox.ru>2019-03-11 03:04:57 +0300
commit63062f9ddbc2c2a2384bfbbd496fc0572318a9e0 (patch)
treeb8029276584549807d9f4e448b470289d222f180 /src/map/atcommand.c
parent4af6f3c375f860bfb19f3ebef7ad2ec9ee18deaa (diff)
downloadhercules-63062f9ddbc2c2a2384bfbbd496fc0572318a9e0.tar.gz
hercules-63062f9ddbc2c2a2384bfbbd496fc0572318a9e0.tar.bz2
hercules-63062f9ddbc2c2a2384bfbbd496fc0572318a9e0.tar.xz
hercules-63062f9ddbc2c2a2384bfbbd496fc0572318a9e0.zip
Move local variables in atcommand.c into interface
Also move defines from map.h inot mapdefines.h for fix cycle include issue.
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 87be6ab1b..a9f63fe13 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -10716,6 +10716,9 @@ void atcommand_defaults(void)
{
atcommand = &atcommand_s;
+ atcommand->atcmd_output = &atcmd_output;
+ atcommand->atcmd_player_name = &atcmd_player_name;
+
atcommand->db = NULL;
atcommand->alias_db = NULL;