mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 17:43:52 +00:00
Fix PLAYER_FIELD_COINAGE to correct index 1170
This commit is contained in:
parent
01a326b186
commit
ac699de412
1 changed files with 2 additions and 2 deletions
|
|
@ -2675,7 +2675,7 @@ void GameHandler::handleUpdateObject(network::Packet& packet) {
|
||||||
if (ch.guid == playerGuid) { ch.level = val; break; }
|
if (ch.guid == playerGuid) { ch.level = val; break; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (key == 1219) { playerMoneyCopper_ = val; } // PLAYER_FIELD_COINAGE
|
else if (key == 1170) { playerMoneyCopper_ = val; } // PLAYER_FIELD_COINAGE
|
||||||
}
|
}
|
||||||
if (applyInventoryFields(block.fields)) slotsChanged = true;
|
if (applyInventoryFields(block.fields)) slotsChanged = true;
|
||||||
if (slotsChanged) rebuildOnlineInventory();
|
if (slotsChanged) rebuildOnlineInventory();
|
||||||
|
|
@ -2768,7 +2768,7 @@ void GameHandler::handleUpdateObject(network::Packet& packet) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (key == 1219) {
|
else if (key == 1170) {
|
||||||
playerMoneyCopper_ = val;
|
playerMoneyCopper_ = val;
|
||||||
LOG_INFO("Money updated via VALUES: ", val, " copper");
|
LOG_INFO("Money updated via VALUES: ", val, " copper");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue