diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-16 05:39:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-16 05:39:15 +0300 |
commit | 58a8c9e6cf38e3fdb2557ec9d00169e96411f915 (patch) | |
tree | ebc1ce9e75fa86cb16c2a7becee08717504d4aba /src/map | |
parent | 74c8caed83f291cb9f4e8a36094bf325cc7afea0 (diff) | |
download | hercules-58a8c9e6cf38e3fdb2557ec9d00169e96411f915.tar.gz hercules-58a8c9e6cf38e3fdb2557ec9d00169e96411f915.tar.bz2 hercules-58a8c9e6cf38e3fdb2557ec9d00169e96411f915.tar.xz hercules-58a8c9e6cf38e3fdb2557ec9d00169e96411f915.zip |
Replace item id shorts to int in mmo.h
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/buyingstore.h | 2 | ||||
-rw-r--r-- | src/map/searchstore.c | 2 | ||||
-rw-r--r-- | src/map/searchstore.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/map/buyingstore.h b/src/map/buyingstore.h index e96cc832d..60fd047f7 100644 --- a/src/map/buyingstore.h +++ b/src/map/buyingstore.h @@ -77,7 +77,7 @@ struct s_buyingstore { **/ struct buyingstore_interface { unsigned int nextid; - short blankslots[MAX_SLOTS]; // used when checking whether or not an item's card slots are blank + int blankslots[MAX_SLOTS]; // used when checking whether or not an item's card slots are blank struct item_option blankoptions[MAX_ITEM_OPTIONS]; // used for search result temporary. /* */ bool (*setup) (struct map_session_data* sd, unsigned char slots); diff --git a/src/map/searchstore.c b/src/map/searchstore.c index 6b847eb92..1cf254e52 100644 --- a/src/map/searchstore.c +++ b/src/map/searchstore.c @@ -345,7 +345,7 @@ static void searchstore_clearremote(struct map_session_data *sd) } /// receives results from a store-specific callback -static bool searchstore_result(struct map_session_data *sd, unsigned int store_id, int account_id, const char *store_name, unsigned short nameid, unsigned short amount, unsigned int price, const short *card, unsigned char refine, const struct item_option *option) +static bool searchstore_result(struct map_session_data *sd, unsigned int store_id, int account_id, const char *store_name, unsigned short nameid, unsigned short amount, unsigned int price, const int *card, unsigned char refine, const struct item_option *option) { struct s_search_store_info_item* ssitem; diff --git a/src/map/searchstore.h b/src/map/searchstore.h index 03924c29a..3d4a3f36a 100644 --- a/src/map/searchstore.h +++ b/src/map/searchstore.h @@ -109,7 +109,7 @@ struct searchstore_interface { void (*click) (struct map_session_data* sd, int account_id, int store_id, unsigned short nameid); bool (*queryremote) (struct map_session_data* sd, int account_id); void (*clearremote) (struct map_session_data* sd); - bool (*result) (struct map_session_data* sd, unsigned int store_id, int account_id, const char* store_name, unsigned short nameid, unsigned short amount, unsigned int price, const short* card, unsigned char refine, const struct item_option *option); + bool (*result) (struct map_session_data* sd, unsigned int store_id, int account_id, const char* store_name, unsigned short nameid, unsigned short amount, unsigned int price, const int* card, unsigned char refine, const struct item_option *option); }; #ifdef HERCULES_CORE |