mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Add idle yawn emote and hearth home tooltip
This commit is contained in:
parent
189f4a0a58
commit
f6eaa2cf70
7 changed files with 40 additions and 3 deletions
|
|
@ -582,9 +582,12 @@ void GameHandler::handlePacket(network::Packet& packet) {
|
|||
if (BindPointUpdateParser::parse(packet, data)) {
|
||||
LOG_INFO("Bindpoint updated: mapId=", data.mapId,
|
||||
" pos=(", data.x, ", ", data.y, ", ", data.z, ")");
|
||||
glm::vec3 canonical = core::coords::serverToCanonical(
|
||||
glm::vec3(data.x, data.y, data.z));
|
||||
hasHomeBind_ = true;
|
||||
homeBindMapId_ = data.mapId;
|
||||
homeBindPos_ = canonical;
|
||||
if (bindPointCallback_) {
|
||||
glm::vec3 canonical = core::coords::serverToCanonical(
|
||||
glm::vec3(data.x, data.y, data.z));
|
||||
bindPointCallback_(data.mapId, canonical.x, canonical.y, canonical.z);
|
||||
}
|
||||
addSystemChatMessage("Your home has been set.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue