diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-05-15 18:42:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-15 19:29:09 +0300 |
commit | 28155aa478caf68fc5d73e2c38a48ba94c3ecbef (patch) | |
tree | e42a91f656c28a7173eaaf652444d67192badb97 /src/const/resources/item | |
parent | 21fe0039406e8ce5cb664aff89875638e4a31d8a (diff) | |
download | plus-28155aa478caf68fc5d73e2c38a48ba94c3ecbef.tar.gz plus-28155aa478caf68fc5d73e2c38a48ba94c3ecbef.tar.bz2 plus-28155aa478caf68fc5d73e2c38a48ba94c3ecbef.tar.xz plus-28155aa478caf68fc5d73e2c38a48ba94c3ecbef.zip |
Fix special card constants for clients with item id with size 4
Also drop support for 65535 item id on old packet versions.
Diffstat (limited to 'src/const/resources/item')
-rw-r--r-- | src/const/resources/item/cards.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/const/resources/item/cards.h b/src/const/resources/item/cards.h index d11e99dfa..e8ce9bce1 100644 --- a/src/const/resources/item/cards.h +++ b/src/const/resources/item/cards.h @@ -26,6 +26,6 @@ #define CARD0_FORGE 0x00FF #define CARD0_CREATE 0x00FE -#define CARD0_PET static_cast<uint16_t>(0xFF00) +#define CARD0_PET static_cast<int16_t>(0xFF00) #endif // CONST_RESOURCES_ITEM_CARDS_H |