correct movement packet broadcasting

mover should be source of movement packets, not player
   resolves problem that movements of controlled unit not visible for nearby players
   (you can detect it only when controlled unit too far from player-controller)

--HG--
branch : trunk
This commit is contained in:
silverice
2010-04-04 03:46:38 +03:00
parent 917193eda5
commit 5dfcccdd85
6 changed files with 30 additions and 10 deletions
+1
View File
@@ -598,6 +598,7 @@ class WorldObject : public Object, public WorldLocation
virtual void SendMessageToSet(WorldPacket *data, bool self);
virtual void SendMessageToSetInRange(WorldPacket *data, float dist, bool self);
virtual void SendMessageToSet(WorldPacket *data, Player const* skipped_rcvr);
void MonsterSay(const char* text, uint32 language, uint64 TargetGuid);
void MonsterYell(const char* text, uint32 language, uint64 TargetGuid);