summaryrefslogtreecommitdiff
path: root/src/map/intif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-02-11 02:00:58 +0100
committerGitHub <noreply@github.com>2019-02-11 02:00:58 +0100
commit2d8a44b753832610d23678629127369f5db576a3 (patch)
tree258e78c458642cc017837f674b0d23255ac49bf4 /src/map/intif.h
parent68126f7d762e001b1a34cfe5e0a340db9c7d9da8 (diff)
parentdbaa9ac111496fdfde9948d5cb15a0b052843b3f (diff)
downloadhercules-2d8a44b753832610d23678629127369f5db576a3.tar.gz
hercules-2d8a44b753832610d23678629127369f5db576a3.tar.bz2
hercules-2d8a44b753832610d23678629127369f5db576a3.tar.xz
hercules-2d8a44b753832610d23678629127369f5db576a3.zip
Merge pull request #2364 from 4144/shortfixes
Change different variables types short to int
Diffstat (limited to 'src/map/intif.h')
-rw-r--r--src/map/intif.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/intif.h b/src/map/intif.h
index 21f7a494c..425ab1d18 100644
--- a/src/map/intif.h
+++ b/src/map/intif.h
@@ -58,7 +58,7 @@ struct intif_interface {
int packet_len_table[INTIF_PACKET_LEN_TABLE_SIZE];
/* funcs */
int (*parse) (int fd);
- int (*create_pet)(int account_id, int char_id, short pet_type, short pet_lv, int pet_egg_id,
+ int (*create_pet)(int account_id, int char_id, int pet_type, int pet_lv, int pet_egg_id,
int pet_equip, short intimate, short hungry, char rename_flag, char incubate, char *pet_name);
int (*broadcast) (const char *mes, int len, int type);
int (*broadcast2) (const char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY);
@@ -84,7 +84,7 @@ struct intif_interface {
int (*guild_request_info) (int guild_id);
int (*guild_addmember) (int guild_id, struct guild_member *m);
int (*guild_leave) (int guild_id, int account_id, int char_id, int flag, const char *mes);
- int (*guild_memberinfoshort) (int guild_id, int account_id, int char_id, int online, int lv, int16 class);
+ int (*guild_memberinfoshort) (int guild_id, int account_id, int char_id, int online, int lv, int class);
int (*guild_break) (int guild_id);
int (*guild_message) (int guild_id, int account_id, const char *mes, int len);
int (*guild_change_gm) (int guild_id, const char *name, int len);