From 63062f9ddbc2c2a2384bfbbd496fc0572318a9e0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Feb 2019 00:32:06 +0300 Subject: Move local variables in atcommand.c into interface Also move defines from map.h inot mapdefines.h for fix cycle include issue. --- src/map/atcommand.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/atcommand.h') diff --git a/src/map/atcommand.h b/src/map/atcommand.h index 3bbbefa20..1783e5dc6 100644 --- a/src/map/atcommand.h +++ b/src/map/atcommand.h @@ -21,9 +21,11 @@ #ifndef MAP_ATCOMMAND_H #define MAP_ATCOMMAND_H +#include "map/mapdefines.h" #include "map/pc_groups.h" #include "common/hercules.h" #include "common/db.h" +#include "common/mmo.h" #include @@ -90,6 +92,8 @@ struct atcmd_binding_data { * Interface **/ struct atcommand_interface { + char (*atcmd_output)[CHAT_SIZE_MAX]; + char (*atcmd_player_name)[NAME_LENGTH]; unsigned char at_symbol; unsigned char char_symbol; /* atcommand binding */ -- cgit v1.2.3-60-g2f50