From f012800751396309e75d0baf4ed3406855c8e93a Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 17 Nov 2015 17:51:09 +0100 Subject: Core/Spells: Fixed typo in ecbbcc8972f43376c65cb726c37cf777ee968f66 --- src/server/game/Spells/SpellHistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Spells/SpellHistory.cpp b/src/server/game/Spells/SpellHistory.cpp index 0dd4ff8c100..ed5c31c25c6 100644 --- a/src/server/game/Spells/SpellHistory.cpp +++ b/src/server/game/Spells/SpellHistory.cpp @@ -471,7 +471,7 @@ bool SpellHistory::HasCooldown(SpellInfo const* spellInfo, uint32 itemId /*= 0*/ return true; uint32 category = 0; - GetCooldownDurations(spellInfo, itemId, nullptr, &itemId, nullptr); + GetCooldownDurations(spellInfo, itemId, nullptr, &category, nullptr); if (!category) return false; -- cgit v1.2.3