From 93539497b91b536572ea9bfb93f42d9f8456fe84 Mon Sep 17 00:00:00 2001 From: Lucy <44952533+Skyliegirl33@users.noreply.github.com> Date: Sun, 12 Feb 2023 14:09:23 +0100 Subject: [PATCH] Initialize missing fields for Item --- src/world/Inventory/Item.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/world/Inventory/Item.cpp b/src/world/Inventory/Item.cpp index 38d5daf2..999e8086 100644 --- a/src/world/Inventory/Item.cpp +++ b/src/world/Inventory/Item.cpp @@ -12,7 +12,10 @@ Sapphire::Item::Item( uint64_t uId, uint32_t catalogId, bool isHq ) : m_stain( 0 ), m_durability( 30000 ), m_spiritBond( 0 ), - m_reservedFlag( 0 ) + m_reservedFlag( 0 ), + m_pattern( 0 ), + m_glamModel1( 0 ), + m_glamModel2( 0 ) { auto& exdData = Common::Service< Data::ExdData >::ref(); auto itemInfo = exdData.getRow< Excel::Item >( catalogId );