aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-05 16:42:12 -0500
committermegamage <none@none>2009-08-05 16:42:12 -0500
commite3e09cc86a517949112f69e4e74e94b790b65661 (patch)
treedf259a748048cf18bc760129cd7b51a6c4fd9c1a
parentec56fd77bf073e0819b501709c5201c913abd819 (diff)
*Fix a typo.
--HG-- branch : trunk
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 81a30505cc4..047a8d98872 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -5145,7 +5145,7 @@ SpellCastResult Spell::CheckCast(bool strict)
// allow always ghost flight spells
if (m_originalCaster && m_originalCaster->GetTypeId() == TYPEID_PLAYER && m_originalCaster->isAlive())
{
- if (!((Player*)m_originalCaster)->IsKnowHowFlyIn(m_originalCaster->GetMapId(),m_originalCaster->GetMapId()))
+ if (!((Player*)m_originalCaster)->IsKnowHowFlyIn(m_originalCaster->GetMapId(),m_originalCaster->GetZoneId()))
return m_IsTriggeredSpell ? SPELL_FAILED_DONT_REPORT : SPELL_FAILED_NOT_HERE;
}
break;