mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Creatures: Fixed typo in f94339271e
This commit is contained in:
@@ -950,8 +950,8 @@ void ObjectMgr::CheckCreatureTemplate(CreatureTemplate const* cInfo)
|
||||
|
||||
if (cInfo->HealthScalingExpansion > MAX_EXPANSIONS)
|
||||
{
|
||||
TC_LOG_ERROR("sql.sql", "Table `creature_template` lists creature (Entry: %u) with `HealthScalingExpansion` %u. Ignored and set to 0.", cInfo->Entry, cInfo->RequiredExpansion);
|
||||
const_cast<CreatureTemplate*>(cInfo)->RequiredExpansion = 0;
|
||||
TC_LOG_ERROR("sql.sql", "Table `creature_template` lists creature (Entry: %u) with `HealthScalingExpansion` %u. Ignored and set to 0.", cInfo->Entry, cInfo->HealthScalingExpansion);
|
||||
const_cast<CreatureTemplate*>(cInfo)->HealthScalingExpansion = 0;
|
||||
}
|
||||
|
||||
if (cInfo->RequiredExpansion > MAX_EXPANSIONS)
|
||||
|
||||
Reference in New Issue
Block a user