1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 22:37:45 +00:00

using proper constant

Just set it to the preexisting constant. Is it supposed to be 28? There are 38 classes and jobs.
This commit is contained in:
karashiiro 2019-07-27 11:12:00 -07:00 committed by GitHub
parent fbf82c937e
commit d76d238095
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
*/
};