mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 03:53:48 +00:00
fix(Core/DB): Brewspewer hardcoded conditions (#6301)
This commit is contained in:
@@ -1469,6 +1469,11 @@ bool Creature::CreateFromProto(ObjectGuid::LowType guidlow, uint32 Entry, uint32
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Creature::isVendorWithIconSpeak() const
|
||||
{
|
||||
return m_creatureInfo->IconName == "Speak" && m_creatureData->npcflag & UNIT_NPC_FLAG_VENDOR;
|
||||
}
|
||||
|
||||
bool Creature::LoadCreatureFromDB(ObjectGuid::LowType spawnId, Map* map, bool addToMap, bool gridLoad, bool allowDuplicate /*= false*/)
|
||||
{
|
||||
if (!allowDuplicate)
|
||||
|
||||
Reference in New Issue
Block a user