mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 06:06:23 +00:00
fix(Core/Creature): Check model increase only for Exotic creatures (#14526)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/14525
This commit is contained in:
@@ -2442,7 +2442,7 @@ float Pet::GetNativeObjectScale() const
|
||||
scale = creatureFamily->minScale + float(GetLevel() - creatureFamily->minScaleLevel) / creatureFamily->maxScaleLevel * (creatureFamily->maxScale - creatureFamily->minScale);
|
||||
|
||||
if (CreatureDisplayInfoEntry const* displayInfo = sCreatureDisplayInfoStore.LookupEntry(GetNativeDisplayId()))
|
||||
if (displayInfo->scale > 1.f)
|
||||
if (displayInfo->scale > 1.f && GetCreatureTemplate()->IsExotic())
|
||||
scale *= displayInfo->scale;
|
||||
|
||||
return scale;
|
||||
|
||||
Reference in New Issue
Block a user