From 2eceab396336f21b9381ae02ff987bac14edea6a Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 24 Oct 2023 10:51:00 +0200 Subject: Add missing override --- src/server/game/Entities/Unit/Unit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Entities/Unit/Unit.h b/src/server/game/Entities/Unit/Unit.h index 2d4d482de45..2d550ffa26f 100644 --- a/src/server/game/Entities/Unit/Unit.h +++ b/src/server/game/Entities/Unit/Unit.h @@ -1278,7 +1278,7 @@ class TC_GAME_API Unit : public WorldObject ObjectGuid GetOwnerGUID() const override { return m_unitData->SummonedBy; } void SetOwnerGUID(ObjectGuid owner); - ObjectGuid GetCreatorGUID() const { return m_unitData->CreatedBy; } + ObjectGuid GetCreatorGUID() const override { return m_unitData->CreatedBy; } void SetCreatorGUID(ObjectGuid creator) { SetUpdateFieldValue(m_values.ModifyValue(&Unit::m_unitData).ModifyValue(&UF::UnitData::CreatedBy), creator); } ObjectGuid GetMinionGUID() const { return m_unitData->Summon; } void SetMinionGUID(ObjectGuid guid) { SetUpdateFieldValue(m_values.ModifyValue(&Unit::m_unitData).ModifyValue(&UF::UnitData::Summon), guid); } -- cgit v1.2.3