*Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -1326,4 +1326,5 @@ void WorldSession::HandleCharCustomize(WorldPacket& recv_data)
|
||||
data << uint8(hairStyle);
|
||||
data << uint8(hairColor);
|
||||
data << uint8(facialHair);
|
||||
SendPacket(&data);
|
||||
}
|
||||
|
||||
@@ -657,4 +657,5 @@ bool ChatHandler::HandleSendSetPhaseShiftCommand(const char* args)
|
||||
|
||||
uint32 PhaseShift = atoi(args);
|
||||
m_session->SendSetPhaseShift(PhaseShift);
|
||||
return true;
|
||||
}
|
||||
|
||||
+2
-2
@@ -2341,7 +2341,7 @@ bool ChatHandler::HandleWpLoadPathCommand(const char *args)
|
||||
target->LoadPath(pathid);
|
||||
target->SetDefaultMovementType(WAYPOINT_MOTION_TYPE);
|
||||
target->GetMotionMaster()->Initialize();
|
||||
target->Say("Path loaded.",0,0);
|
||||
target->MonsterSay("Path loaded.",0,0);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -2384,7 +2384,7 @@ bool ChatHandler::HandleWpUnLoadPathCommand(const char *args)
|
||||
target->SetDefaultMovementType(IDLE_MOTION_TYPE);
|
||||
target->GetMotionMaster()->MoveTargetedHome();
|
||||
target->GetMotionMaster()->Initialize();
|
||||
target->Say("Path unloaded.",0,0);
|
||||
target->MonsterSay("Path unloaded.",0,0);
|
||||
return true;
|
||||
}
|
||||
PSendSysMessage("%s%s|r", "|cffff33ff", "Target have no loaded path.");
|
||||
|
||||
+1
-1
@@ -1454,7 +1454,7 @@ void Spell::SetTargetMap(uint32 i,uint32 cur,std::list<Unit*> &TagUnitMap)
|
||||
uint32 EffectChainTarget = m_spellInfo->EffectChainTarget[i];
|
||||
uint32 unMaxTargets = m_spellInfo->MaxAffectedTargets;
|
||||
|
||||
Unit::AuraList const& Auras = m_caster->GetAurasByType(SPELL_AURA_MOD_ABILITY_AFFECTED_TARGETS);
|
||||
Unit::AuraList const& Auras = m_caster->GetAurasByType(SPELL_AURA_MOD_MAX_AFFECTED_TARGETS);
|
||||
for(Unit::AuraList::const_iterator j = Auras.begin();j != Auras.end(); ++j)
|
||||
{
|
||||
if((*j)->isAffectedOnSpell(m_spellInfo))
|
||||
|
||||
Reference in New Issue
Block a user