diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2019-12-30 16:44:17 +0100 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-02-05 00:30:40 +0100 |
commit | 09ca47a3174082b07b95728f54bf53528cb58c49 (patch) | |
tree | 03d9972bb8d64e5f05e51504e532c43c0107c0b7 /src/plugins/HPMHooking/HPMHooking.Defs.inc | |
parent | bf99547843038bc15dc1948748d969950e866465 (diff) | |
download | hercules-09ca47a3174082b07b95728f54bf53528cb58c49.tar.gz hercules-09ca47a3174082b07b95728f54bf53528cb58c49.tar.bz2 hercules-09ca47a3174082b07b95728f54bf53528cb58c49.tar.xz hercules-09ca47a3174082b07b95728f54bf53528cb58c49.zip |
Changed some data types from unsigned to signed.
* Changed all unsigned fields in struct party_data to signed int.
* Changed data type of struct party_member->lv to signed int.
* Changed parameter lv in inter_party_change_map() function to signed int.
* Changed signature of inter_party_change_map() function in HPMHooking files.
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Defs.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking.Defs.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc index 89c9024cc..f09235c10 100644 --- a/src/plugins/HPMHooking/HPMHooking.Defs.inc +++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc @@ -3556,8 +3556,8 @@ typedef bool (*HPMHOOK_pre_inter_party_add_member) (int *party_id, const struct typedef bool (*HPMHOOK_post_inter_party_add_member) (bool retVal___, int party_id, const struct party_member *member); typedef bool (*HPMHOOK_pre_inter_party_change_option) (int *party_id, int *account_id, int *exp, int *item, int *map_fd); typedef bool (*HPMHOOK_post_inter_party_change_option) (bool retVal___, int party_id, int account_id, int exp, int item, int map_fd); -typedef bool (*HPMHOOK_pre_inter_party_change_map) (int *party_id, int *account_id, int *char_id, unsigned short *map, int *online, unsigned int *lv); -typedef bool (*HPMHOOK_post_inter_party_change_map) (bool retVal___, int party_id, int account_id, int char_id, unsigned short map, int online, unsigned int lv); +typedef bool (*HPMHOOK_pre_inter_party_change_map) (int *party_id, int *account_id, int *char_id, unsigned short *map, int *online, int *lv); +typedef bool (*HPMHOOK_post_inter_party_change_map) (bool retVal___, int party_id, int account_id, int char_id, unsigned short map, int online, int lv); typedef bool (*HPMHOOK_pre_inter_party_disband) (int *party_id); typedef bool (*HPMHOOK_post_inter_party_disband) (bool retVal___, int party_id); typedef bool (*HPMHOOK_pre_inter_party_change_leader) (int *party_id, int *account_id, int *char_id); |