From 1fc6228436311da0d70f14176fe47f3e37f6faa6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 2 May 2016 19:06:39 +0300 Subject: Update function hook prototypes for support new hercules. --- src/emap/atcommand.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/emap/atcommand.h') diff --git a/src/emap/atcommand.h b/src/emap/atcommand.h index b3166ab..fa40548 100644 --- a/src/emap/atcommand.h +++ b/src/emap/atcommand.h @@ -4,8 +4,10 @@ #ifndef EVOL_MAP_ATCOMMAND #define EVOL_MAP_ATCOMMAND -const char* eatcommand_msgsd(struct map_session_data *sd, int *msgPtr); -const char* eatcommand_msgfd(int *fdPtr, int *msgPtr); +const char* eatcommand_msgsd_pre(struct map_session_data **sdPtr, + int *msgPtr); +const char* eatcommand_msgfd_pre(int *fdPtr, + int *msgPtr); #define ACMD2(x) bool atcommand_ ## x (const int fd, struct map_session_data* sd, const char* command __attribute__ ((unused)), const char* message, struct AtCommandInfo *info) -- cgit v1.2.3-60-g2f50