aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2024-01-15 16:06:21 +0100
committerOvahlord <dreadkiller@gmx.de>2024-01-15 16:06:21 +0100
commit25d4e39f76206283e95a269735b275d8e50fbb24 (patch)
treeddf00d98317550f5aaf299af628a63fe7e6475f2
parent20e256a11d82f8fde105bf40bc3eb9549e92dcdd (diff)
Core/Creatures: corrected the expansion check added in 20e256a11d82f8fde105bf40bc3eb9549e92dcdd
-rw-r--r--src/server/game/Globals/ObjectMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
index 78f4c1b466a..47025fe73cc 100644
--- a/src/server/game/Globals/ObjectMgr.cpp
+++ b/src/server/game/Globals/ObjectMgr.cpp
@@ -1017,7 +1017,7 @@ void ObjectMgr::LoadCreatureTemplateDifficulty()
creatureDifficulty.MinLevel = creatureDifficulty.MaxLevel;
}
- if (creatureDifficulty.HealthScalingExpansion < EXPANSION_LEVEL_CURRENT || creatureDifficulty.HealthScalingExpansion >= CURRENT_EXPANSION)
+ if (creatureDifficulty.HealthScalingExpansion < EXPANSION_LEVEL_CURRENT || creatureDifficulty.HealthScalingExpansion > CURRENT_EXPANSION)
{
TC_LOG_ERROR("sql.sql", "Table `creature_template_difficulty` lists creature (ID: {}) with invalid `HealthScalingExpansion` {}. Ignored and set to 0.",
entry, creatureDifficulty.HealthScalingExpansion);