Remove LOTS of compile warnings
--HG-- branch : trunk
This commit is contained in:
1 parent
fdd8d2f3cc
commit
74dd02d024
549 files changed
+2082
-2122
No files matched your search
+1
-1
@@ -217,7 +217,7 @@ void UnitAI::DoCast(uint32 spellId)
|
||||
{
|
||||
const SpellEntry * spellInfo = GetSpellStore()->LookupEntry(spellId);
|
||||
bool playerOnly = spellInfo->AttributesEx3 & SPELL_ATTR_EX3_PLAYERS_ONLY;
|
||||
float range = GetSpellMaxRange(spellInfo, false);
|
||||
//float range = GetSpellMaxRange(spellInfo, false);
|
||||
target = SelectTarget(SELECT_TARGET_RANDOM, 0, GetSpellMaxRange(spellInfo, false), playerOnly);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user