mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 13:37:08 +00:00
[7929] Some fixes and optimizations for work with packet guids.
* Allocate only minimal required buffer size for object packet guid cache, avoid it realocation. * At adding aboyher buffer content copy only until wpos (really writed to buffer data) * In appendPackGUID check buffer size before data write.
This commit is contained in:
parent
0bfcc44bb8
commit
fb45529eff
4 changed files with 8 additions and 6 deletions
|
|
@ -3414,7 +3414,7 @@ void Aura::HandleAuraModStun(bool apply, bool Real)
|
|||
else
|
||||
{
|
||||
m_target->SetUnitMovementFlags(0); // Clear movement flags
|
||||
m_target->SetStandState(UNIT_STAND_STATE_STAND);
|
||||
m_target->SetStandState(UNIT_STAND_STATE_STAND);// in 1.5 client
|
||||
}
|
||||
|
||||
WorldPacket data(SMSG_FORCE_MOVE_ROOT, 8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue