From d76d2380958ef48eabc4530dbbef18a9dd721029 Mon Sep 17 00:00:00 2001 From: karashiiro <49822414+karashiiro@users.noreply.github.com> Date: Sat, 27 Jul 2019 11:12:00 -0700 Subject: [PATCH] using proper constant Just set it to the preexisting constant. Is it supposed to be 28? There are 38 classes and jobs. --- src/common/Network/PacketDef/Zone/ServerZoneDef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/Network/PacketDef/Zone/ServerZoneDef.h b/src/common/Network/PacketDef/Zone/ServerZoneDef.h index 3a84aaa0..e5ccb5bb 100644 --- a/src/common/Network/PacketDef/Zone/ServerZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ServerZoneDef.h @@ -135,13 +135,13 @@ namespace Sapphire::Network::Packets::Server char fcName[24]; uint8_t unknown7; uint16_t padding1; - uint16_t classJobIdLevel[38 * 2]; // Pairs of classJobId, classJobLevel + uint16_t classJobIdLevel[Common::CLASSJOB_SLOTS * 2]; // Pairs of classJobId, classJobLevel /* Like this: uint16_t gldId; // 1 uint16_t gldLevel; uint16_t pglId; - etc... through DNC + etc... through DNC (38) */ };