summaryrefslogtreecommitdiff
path: root/src/const
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-05-15 18:42:27 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-15 19:29:09 +0300
commit28155aa478caf68fc5d73e2c38a48ba94c3ecbef (patch)
treee42a91f656c28a7173eaaf652444d67192badb97 /src/const
parent21fe0039406e8ce5cb664aff89875638e4a31d8a (diff)
downloadplus-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')
-rw-r--r--src/const/resources/item/cards.h2
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