From 0aa5e93397d3ddfe7a559747b09c16b055da8b24 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Fri, 14 Jan 2022 05:06:45 +0100 Subject: [PATCH] Fixed vending packets for 2020 and 2021 (#6518) Fixes #6510 Thanks to @kaninhot004, @sonniez, @Anjuts, @RagnaWay and @pigati23 --- src/map/packets_struct.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/map/packets_struct.hpp b/src/map/packets_struct.hpp index 3b0671cb15..50ae1cc9d7 100644 --- a/src/map/packets_struct.hpp +++ b/src/map/packets_struct.hpp @@ -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