diff options
author | Haru <haru@dotalux.com> | 2018-07-23 01:04:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-23 01:04:25 +0200 |
commit | be3209bc5ff1b88314c47a6fdc53d73deaa9e96a (patch) | |
tree | a12e7ac7b7e6ae8410ba170d345a3022da0e51a5 /src/map/buyingstore.h | |
parent | bcaf5eaa9c8ef65068ab5468d7bd13e2df516cab (diff) | |
parent | 6c73aa1b03b04d4d9a2ba9056b8583475856da12 (diff) | |
download | hercules-be3209bc5ff1b88314c47a6fdc53d73deaa9e96a.tar.gz hercules-be3209bc5ff1b88314c47a6fdc53d73deaa9e96a.tar.bz2 hercules-be3209bc5ff1b88314c47a6fdc53d73deaa9e96a.tar.xz hercules-be3209bc5ff1b88314c47a6fdc53d73deaa9e96a.zip |
Merge pull request #2134 from 4144/itemint
Update int fields to using int32
Diffstat (limited to 'src/map/buyingstore.h')
-rw-r--r-- | src/map/buyingstore.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/buyingstore.h b/src/map/buyingstore.h index e96cc832d..63762f321 100644 --- a/src/map/buyingstore.h +++ b/src/map/buyingstore.h @@ -63,7 +63,7 @@ enum e_buyingstore_failure { struct s_buyingstore_item { int price; unsigned short amount; - unsigned short nameid; + int nameid; }; struct s_buyingstore { @@ -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); @@ -85,7 +85,7 @@ struct buyingstore_interface { void (*close) (struct map_session_data* sd); void (*open) (struct map_session_data* sd, int account_id); void (*trade) (struct map_session_data* sd, int account_id, unsigned int buyer_id, const struct PACKET_CZ_REQ_TRADE_BUYING_STORE_sub* itemlist, unsigned int count); - bool (*search) (struct map_session_data* sd, unsigned short nameid); + bool (*search) (struct map_session_data* sd, int nameid); bool (*searchall) (struct map_session_data* sd, const struct s_search_store_search* s); unsigned int (*getuid) (void); }; |