aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Globals/ObjectMgr.cpp
diff options
context:
space:
mode:
authorVincent-Michael <vincent_michael@gmx.de>2016-08-13 22:00:59 +0200
committerVincent-Michael <vincent_michael@gmx.de>2016-08-13 22:00:59 +0200
commite8a38ff3fdaa36595d546afbd8e1978398c31054 (patch)
tree63a7d0ec89adc235909d69c4ccd620da5d7e3489 /src/server/game/Globals/ObjectMgr.cpp
parentf94339271ee34977c8156a6253caa7b6291fff9f (diff)
Core/Creatures: Fixed typo in f94339271ee34977c8156a6253caa7b6291fff9f
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r--src/server/game/Globals/ObjectMgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
index d2bae6f7959..c6a9cb04b9e 100644
--- a/src/server/game/Globals/ObjectMgr.cpp
+++ b/src/server/game/Globals/ObjectMgr.cpp
@@ -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)