Fix mind control on old clients.

This commit is contained in:
ratkosrb
2019-03-23 23:33:50 +02:00
parent 24d725b226
commit f2f3a170e5
5 changed files with 59 additions and 22 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ void Object::BuildCreateUpdateBlockForPlayer(UpdateData *data, Player *target) c
BuildMovementUpdate(&buf, updateFlags);
#if SUPPORTED_CLIENT_BUILD <= CLIENT_BUILD_1_8_4
buf << uint32(target == this ? 1 : 0); // Flags, 1 - Active Player
buf << uint32(target->IsMoverOf(this) ? 1 : 0); // Flags, 1 - Active Player
buf << uint32(0); // AttackCycle
buf << uint32(0); // TimerId
buf << uint64(0); // VictimGuid