From 9f5eee701acc2dca4d64385a1e7cf21e970f3b05 Mon Sep 17 00:00:00 2001 From: Turk3y Date: Wed, 7 Jan 2009 04:16:08 +0100 Subject: [PATCH] Fixed typo in SpellMgr::GetSpellAllowedInLocationError. This should fix problems with flasks and elixirs using. Signed-off-by: ApoC --- src/game/SpellMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 5fc3ca3f8..06fe60522 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2304,7 +2304,7 @@ uint8 GetSpellAllowedInLocationError(SpellEntry const *spellInfo,uint32 map_id,u } // elixirs not have another limitations - return true; + return 0; } }