refactor(Core/Packet): Chat (#9509)
* Chat * . * Update GameObject.cpp * Update Object.cpp * Update Player.cpp
This commit is contained in:
parent
03efc110a0
commit
725b1266b4
20 changed files with 153 additions and 48 deletions
|
|
@ -2103,8 +2103,7 @@ bool GameObject::IsInRange(float x, float y, float z, float radius) const
|
|||
&& dz < (info->maxZ * scale) + radius && dz > (info->minZ * scale) - radius;
|
||||
}
|
||||
|
||||
// pussywizard!
|
||||
void GameObject::SendMessageToSetInRange(WorldPacket* data, float dist, bool /*self*/, bool includeMargin, Player const* skipped_rcvr)
|
||||
void GameObject::SendMessageToSetInRange(WorldPacket const* data, float dist, bool /*self*/, bool includeMargin, Player const* skipped_rcvr) const
|
||||
{
|
||||
dist += GetObjectSize();
|
||||
if (includeMargin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue