Core/PacketIO: Fixed building SMSG_UPDATE_OBJECT for array fields sharing the same initial bit index after ClearChanged was called on one of them
Port From (https://github.com/TrinityCore/TrinityCore/commit/834cd1554064785d87d36892dc92cc6b48291b27)
This commit is contained in:
@@ -341,7 +341,6 @@ namespace Game.Entities
|
||||
|
||||
public void ClearChanged<U>(UpdateFieldArray<U> updateField, int index) where U : new()
|
||||
{
|
||||
_changesMask.Reset(updateField.Bit);
|
||||
_changesMask.Reset(updateField.FirstElementBit + index);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user