From e8a38ff3fdaa36595d546afbd8e1978398c31054 Mon Sep 17 00:00:00 2001 From: Vincent-Michael Date: Sat, 13 Aug 2016 22:00:59 +0200 Subject: Core/Creatures: Fixed typo in f94339271ee34977c8156a6253caa7b6291fff9f --- src/server/game/Globals/ObjectMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server') 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(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(cInfo)->HealthScalingExpansion = 0; } if (cInfo->RequiredExpansion > MAX_EXPANSIONS) -- cgit v1.2.3