fix(Core/Items): properly display item spell charges (#7722)
- Closes #7598
This commit is contained in:
parent
f37bc4bf5a
commit
a561ce8937
1 changed files with 2 additions and 2 deletions
|
|
@ -426,7 +426,7 @@ void ItemTemplate::InitializeQueryData()
|
|||
|
||||
queryData << Spells[s].SpellId;
|
||||
queryData << Spells[s].SpellTrigger;
|
||||
queryData << uint32(-abs(Spells[s].SpellCharges));
|
||||
queryData << int32(Spells[s].SpellCharges);
|
||||
|
||||
if (db_data)
|
||||
{
|
||||
|
|
@ -577,7 +577,7 @@ void WorldSession::HandleItemQuerySingleOpcode(WorldPacket& recvData)
|
|||
|
||||
queryData << pProto->Spells[s].SpellId;
|
||||
queryData << pProto->Spells[s].SpellTrigger;
|
||||
queryData << uint32(-abs(pProto->Spells[s].SpellCharges));
|
||||
queryData << int32(pProto->Spells[s].SpellCharges);
|
||||
|
||||
if (db_data)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue