aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 6860f0e9347..205a0dd2818 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -2804,7 +2804,7 @@ void SpellMgr::LoadSpellInfoServerside()
{
Field* fields = spellsResult->Fetch();
uint32 spellId = fields[0].GetUInt32();
- Difficulty difficulty = Difficulty(fields[2].GetUInt32());
+ Difficulty difficulty = Difficulty(fields[1].GetUInt32());
if (sSpellNameStore.HasRecord(spellId))
{
TC_LOG_ERROR("sql.sql", "Serverside spell %u difficulty %u is already loaded from file. Overriding existing spells is not allowed.",