Fixed vending packets for 2020 and 2021 (#6518)

Fixes #6510

Thanks to @kaninhot004, @sonniez, @Anjuts, @RagnaWay and @pigati23
This commit is contained in:
Lemongrass3110 2022-01-14 05:06:45 +01:00 committed by GitHub
parent 71ebd93027
commit 0aa5e93397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,10 +214,16 @@ enum packet_headers {
#endif
#if PACKETVER < 20100105
vendinglistType = 0x133,
#elif PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
vendinglistType = 0xb3d,
#else
vendinglistType = 0x800,
#endif
#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200724
openvendingType = 0xb40,
#else
openvendingType = 0x136,
#endif
#if PACKETVER >= 20120925
equipitemType = 0x998,
#else