summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-08 18:24:10 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-08 18:24:10 +0300
commit537b2bb3510f52eb9ccdee4f98e6061b5878bff0 (patch)
treedeb9ab96f897bb3a77455ad8ece4c64cb2554fb1 /src/char
parent2053a2d8ff9e822ed61fac8e6fd12513ded633bd (diff)
downloadhercules-537b2bb3510f52eb9ccdee4f98e6061b5878bff0.tar.gz
hercules-537b2bb3510f52eb9ccdee4f98e6061b5878bff0.tar.bz2
hercules-537b2bb3510f52eb9ccdee4f98e6061b5878bff0.tar.xz
hercules-537b2bb3510f52eb9ccdee4f98e6061b5878bff0.zip
Fix hpm issues after rodex commit.
Diffstat (limited to 'src/char')
-rw-r--r--src/char/int_rodex.c2
-rw-r--r--src/char/mapif.c2
-rw-r--r--src/char/mapif.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/char/int_rodex.c b/src/char/int_rodex.c
index 12ab54290..1fa76e4db 100644
--- a/src/char/int_rodex.c
+++ b/src/char/int_rodex.c
@@ -463,7 +463,7 @@ void mapif_parse_rodex_send(int fd)
/*------------------------------------------
* Check Player
*------------------------------------------*/
-void mapif_rodex_checkname(int fd, int reqchar_id, int target_char_id, short target_class, int target_level, char name[NAME_LENGTH])
+void mapif_rodex_checkname(int fd, int reqchar_id, int target_char_id, short target_class, int target_level, char *name)
{
nullpo_retv(name);
Assert_retv(reqchar_id > 0);
diff --git a/src/char/mapif.c b/src/char/mapif.c
index b71171e23..9fccd691b 100644
--- a/src/char/mapif.c
+++ b/src/char/mapif.c
@@ -192,7 +192,7 @@ int mapif_parse_rodex_updatemail(int fd);
int mapif_parse_rodex_send(int fd);
void mapif_rodex_send(int fd, int sender_id, int receiver_id, int receiver_accountid, bool result);
int mapif_parse_rodex_checkname(int fd);
-void mapif_rodex_checkname(int fd, int reqchar_id, int target_char_id, short target_class, int target_level, char name[NAME_LENGTH]);
+void mapif_rodex_checkname(int fd, int reqchar_id, int target_char_id, short target_class, int target_level, char *name);
int mapif_load_guild_storage(int fd,int account_id,int guild_id, char flag);
int mapif_save_guild_storage_ack(int fd, int account_id, int guild_id, int fail);
int mapif_parse_LoadGuildStorage(int fd);
diff --git a/src/char/mapif.h b/src/char/mapif.h
index 353da7ab0..a78940ba2 100644
--- a/src/char/mapif.h
+++ b/src/char/mapif.h
@@ -184,7 +184,7 @@ struct mapif_interface {
int(*parse_rodex_send) (int fd);
void(*rodex_send) (int fd, int sender_id, int receiver_id, int receiver_accountid, bool result);
int(*parse_rodex_checkname) (int fd);
- void(*rodex_checkname) (int fd, int reqchar_id, int target_char_id, short target_class, int target_level, char name[NAME_LENGTH]);
+ void(*rodex_checkname) (int fd, int reqchar_id, int target_char_id, short target_class, int target_level, char *name);
int (*load_guild_storage) (int fd, int account_id, int guild_id, char flag);
int (*save_guild_storage_ack) (int fd, int account_id, int guild_id, int fail);
int (*parse_LoadGuildStorage) (int fd);