Backported TC2 commit 3157 (megamage: *Fix the bug that fishing bobber does not have correct position.)

--HG--
branch : trunk
This commit is contained in:
mknjc
2009-05-07 18:20:55 +02:00
parent 54c514eee5
commit 3703f4891d
2 changed files with 18 additions and 2 deletions
+6
View File
@@ -326,6 +326,12 @@ inline bool IsSpellHaveEffect(SpellEntry const *spellInfo, SpellEffects effect)
return true;
return false;
}
inline float GetSpellMinRange(SpellEntry const *spellInfo, bool positive)
{
return positive
? GetSpellMinRangeForFriend(sSpellRangeStore.LookupEntry(spellInfo->rangeIndex))
: GetSpellMinRangeForHostile(sSpellRangeStore.LookupEntry(spellInfo->rangeIndex));
}
//bool IsNoStackAuraDueToAura(uint32 spellId_1, uint32 effIndex_1, uint32 spellId_2, uint32 effIndex_2);