diff --git a/src/server/game/Entities/Object/ObjectGuid.cpp b/src/server/game/Entities/Object/ObjectGuid.cpp index ebcf110b5f4..b51493bcd23 100644 --- a/src/server/game/Entities/Object/ObjectGuid.cpp +++ b/src/server/game/Entities/Object/ObjectGuid.cpp @@ -232,13 +232,13 @@ ObjectGuid const ObjectGuid::TradeItem = ObjectGuid::Create(uint template ObjectGuid ObjectGuid::Create(LowType counter) { - static_assert(false, "Invalid guid construction method for this guid type."); + static_assert(type == HighGuid::Count, "This guid type cannot be constructed using Create(LowType counter)."); } template ObjectGuid ObjectGuid::Create(uint16 mapId, uint32 entry, LowType counter) { - static_assert(false, "Invalid guid construction method for this guid type."); + static_assert(type == HighGuid::Count, "This guid type cannot be constructed using Create(uint16 mapId, uint32 entry, LowType counter)."); } template ObjectGuid::LowType ObjectGuidGenerator::Generate();