mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[Build] Most errors fixed
This commit is contained in:
parent
868302dd0b
commit
778052084e
70 changed files with 619 additions and 602 deletions
|
|
@ -85,7 +85,7 @@ ReactorAI::UpdateAI(const uint32 /*time_diff*/)
|
|||
void
|
||||
ReactorAI::EnterEvadeMode()
|
||||
{
|
||||
if (!m_creature->isAlive())
|
||||
if (!m_creature->IsAlive())
|
||||
{
|
||||
DEBUG_FILTER_LOG(LOG_FILTER_AI_AND_MOVEGENSS, "Creature stopped attacking, he is dead [guid=%u]", m_creature->GetGUIDLow());
|
||||
m_creature->GetMotionMaster()->MovementExpired();
|
||||
|
|
@ -112,7 +112,7 @@ ReactorAI::EnterEvadeMode()
|
|||
}
|
||||
else
|
||||
{
|
||||
DEBUG_FILTER_LOG(LOG_FILTER_AI_AND_MOVEGENSS, "Creature stopped attacking, victim %s [guid=%u]", victim->isAlive() ? "out run him" : "is dead", m_creature->GetGUIDLow());
|
||||
DEBUG_FILTER_LOG(LOG_FILTER_AI_AND_MOVEGENSS, "Creature stopped attacking, victim %s [guid=%u]", victim->IsAlive() ? "out run him" : "is dead", m_creature->GetGUIDLow());
|
||||
}
|
||||
|
||||
m_creature->RemoveAllAurasOnEvade();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue