diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-04 19:14:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-04 19:14:27 +0300 |
commit | 31cc98f9208f3e7681bb223a23cd2aed2433c021 (patch) | |
tree | 94f60a3e7831b0ada18d35ea39cf0f518242e359 /src/echar/char.c | |
parent | 2c9c1e2eb8e74a6f8d9765993365648555ddf9b0 (diff) | |
download | evol-hercules-31cc98f9208f3e7681bb223a23cd2aed2433c021.tar.gz evol-hercules-31cc98f9208f3e7681bb223a23cd2aed2433c021.tar.bz2 evol-hercules-31cc98f9208f3e7681bb223a23cd2aed2433c021.tar.xz evol-hercules-31cc98f9208f3e7681bb223a23cd2aed2433c021.zip |
Update plugin for new hercules.
Diffstat (limited to 'src/echar/char.c')
-rw-r--r-- | src/echar/char.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/echar/char.c b/src/echar/char.c index 965fd35..205f703 100644 --- a/src/echar/char.c +++ b/src/echar/char.c @@ -13,6 +13,7 @@ #include "common/mmo.h" #include "common/socket.h" #include "common/strlib.h" +#include "common/sql.h" #include "common/timer.h" #include "char/char.h" #include "char/inter.h" @@ -225,7 +226,7 @@ void send_additional_slots(int fd, struct char_session_data* sd) if (!sd || sd->version < 9) return; - SqlStmt* stmt = SQL->StmtMalloc(inter->sql_handle); + struct SqlStmt* stmt = SQL->StmtMalloc(inter->sql_handle); if (stmt == NULL) { SqlStmt_ShowDebug(stmt); |