From 5391af378abd0c957af4f93f971350165dea0b39 Mon Sep 17 00:00:00 2001 From: Alice Ogeda Date: Mon, 13 Dec 2021 17:03:42 -0300 Subject: [PATCH] fix world expansion level; --- src/common/Network/PacketDef/Zone/ServerZoneDef.h | 2 +- src/world/Network/PacketWrappers/PlayerSetupPacket.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/Network/PacketDef/Zone/ServerZoneDef.h b/src/common/Network/PacketDef/Zone/ServerZoneDef.h index ec97a18d..b90c63a5 100644 --- a/src/common/Network/PacketDef/Zone/ServerZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ServerZoneDef.h @@ -963,8 +963,8 @@ namespace Sapphire::Network::Packets::WorldPackets::Server uint64_t Crest; uint32_t EntityId; uint32_t RestPoint; - uint8_t Expansion; uint8_t Unknown8; + uint8_t ExpansionLevel; uint8_t Race; uint8_t Tribe; uint8_t Sex; diff --git a/src/world/Network/PacketWrappers/PlayerSetupPacket.h b/src/world/Network/PacketWrappers/PlayerSetupPacket.h index 4a2f9c30..ff505ea0 100644 --- a/src/world/Network/PacketWrappers/PlayerSetupPacket.h +++ b/src/world/Network/PacketWrappers/PlayerSetupPacket.h @@ -68,7 +68,7 @@ namespace Sapphire::Network::Packets::WorldPackets::Server // possibly max level or current level // m_data.maxLevel = Common::MAX_PLAYER_LEVEL; - // m_data.expansion = Common::CURRENT_EXPANSION_ID; + m_data.ExpansionLevel = Common::CURRENT_EXPANSION_ID; // df stuff // todo: actually do this properly