diff options
author | QAston <none@none> | 2009-08-17 02:53:39 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-08-17 02:53:39 +0200 |
commit | 41c12d173b8d0cf297edf70e40b8e13b9bf3af35 (patch) | |
tree | 483b138dcad5abd803330495cc211c3a90218173 /src/game/Player.cpp | |
parent | 6359bfb27ac42392dc3a314fc5fe194964485931 (diff) |
*Add spell_bonus_data for lightwell - by Elron
*Add aura_required, aura_forbidden, user_type columns to npc_spellclick_spells table for additional requirement checks
*Remove workarounds from lightwell code and use new npc_spellclick_spells fields instead.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 40dc8b21c62..81e67126ca2 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -21297,7 +21297,7 @@ bool Player::canSeeSpellClickOn(Creature const *c) const return true; for(SpellClickInfoMap::const_iterator itr = clickPair.first; itr != clickPair.second; ++itr) - if(itr->second.IsFitToRequirements(this)) + if(itr->second.IsFitToRequirements(this, c)) return true; return false; |