diff options
author | hemagx <hemagx2@gmail.com> | 2015-12-26 11:17:14 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-06 15:09:40 +0100 |
commit | b69f7b8a5755a54df963c18ca2cdef530f05658b (patch) | |
tree | f8329b1aa55bf2c0f2ce6dc1d743f5debd4b30ab /src/map/chrif.h | |
parent | 756be9835054a3b2b8ebace388546fa15ffd4a92 (diff) | |
download | hercules-b69f7b8a5755a54df963c18ca2cdef530f05658b.tar.gz hercules-b69f7b8a5755a54df963c18ca2cdef530f05658b.tar.bz2 hercules-b69f7b8a5755a54df963c18ca2cdef530f05658b.tar.xz hercules-b69f7b8a5755a54df963c18ca2cdef530f05658b.zip |
Change all TBL_PC to struct map_session_data as per style guidelines
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/chrif.h')
-rw-r--r-- | src/map/chrif.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/chrif.h b/src/map/chrif.h index d57d4d42c..6a5ec36b6 100644 --- a/src/map/chrif.h +++ b/src/map/chrif.h @@ -21,9 +21,9 @@ #ifndef MAP_CHRIF_H #define MAP_CHRIF_H -#include "map/map.h" //TBL_PC #include "common/hercules.h" #include "common/db.h" +#include "common/mmo.h" struct eri; struct map_session_data; @@ -129,9 +129,9 @@ struct chrif_interface { bool (*flush) (void); void (*skillid2idx) (int fd); - bool (*sd_to_auth) (TBL_PC* sd, enum sd_state state); + bool (*sd_to_auth) (struct map_session_data *sd, enum sd_state state); int (*check_connect_char_server) (int tid, int64 tick, int id, intptr_t data); - bool (*auth_logout) (TBL_PC* sd, enum sd_state state); + bool (*auth_logout) (struct map_session_data *sd, enum sd_state state); void (*save_ack) (int fd); int (*reconnect) (DBKey key, DBData *data, va_list ap); int (*auth_db_cleanup_sub) (DBKey key, DBData *data, va_list ap); |