diff options
| author | megamage <none@none> | 2009-06-15 12:34:28 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-06-15 12:34:28 -0500 |
| commit | 89e20ff99939789d4d722e000b1378ff11c86316 (patch) | |
| tree | 5c9198b216f83281e2d4ba791f01888ae56a4608 /src/game/Spell.cpp | |
| parent | 9055f25030e6de924346d92e6b588e8265918831 (diff) | |
*Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 645c2529433..d97bd11842d 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1208,7 +1208,7 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask) if(m_spellInfo->speed > 0.0f && unit == m_targets.getUnitTarget() && (unit->HasAuraType(SPELL_AURA_MOD_INVISIBILITY) || unit->HasAuraTypeWithFamilyFlags(SPELL_AURA_MOD_STEALTH, SPELLFAMILY_ROGUE, SPELLFAMILYFLAG_ROGUE_VANISH)) - && !unit->isVisibleForOrDetect(m_caster, true)) + && !m_caster->canSeeOrDetect(unit, true)) { // that was causing CombatLog errors // return SPELL_MISS_EVADE; |
