diff options
author | Ovahlord <dreadkiller@gmx.de> | 2024-01-15 16:06:21 +0100 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-01-15 16:06:21 +0100 |
commit | 25d4e39f76206283e95a269735b275d8e50fbb24 (patch) | |
tree | ddf00d98317550f5aaf299af628a63fe7e6475f2 | |
parent | 20e256a11d82f8fde105bf40bc3eb9549e92dcdd (diff) |
Core/Creatures: corrected the expansion check added in 20e256a11d82f8fde105bf40bc3eb9549e92dcdd
-rw-r--r-- | src/server/game/Globals/ObjectMgr.cpp | 2 |
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); |