Implement movement counters (#197)
* Implement movement counters. * Fix 1.8.4 build. * Remove redundant check * Minor changes. * Fix problem with fear while mind controlling rooted unit. * Fix wrong guid being sent in speed change. * Move some functions around. * Differentiate between possess and charm. * Hack fix for mind control bug in 1.8.4. * Fix bug with Mind Vision. * Use namespace instead of class.
This commit is contained in:
@@ -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->IsMoverOf(this) ? 1 : 0); // Flags, 1 - Active Player
|
||||
buf << uint32(target->GetMover() == this ? 1 : 0); // Flags, 1 - Active Player
|
||||
buf << uint32(0); // AttackCycle
|
||||
buf << uint32(0); // TimerId
|
||||
buf << uint64(0); // VictimGuid
|
||||
|
||||
Reference in New Issue
Block a user