Core/PacketIO: Implement building SMSG_UPDATE_OBJECT only for selected fields and use that to fix quest objects not glowing after accepting quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbfbb7d4bfa869755e702b40b53dbd295f8c964d)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace Game.Entities
|
||||
{
|
||||
@@ -64,6 +65,8 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsAnySet() { return _blocksMask.Any(blockMask => blockMask != 0); }
|
||||
|
||||
public void Reset(int index)
|
||||
{
|
||||
int blockIndex = GetBlockIndex(index);
|
||||
|
||||
Reference in New Issue
Block a user