mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[Build] Most errors fixed
This commit is contained in:
parent
868302dd0b
commit
778052084e
70 changed files with 619 additions and 602 deletions
|
|
@ -3963,7 +3963,7 @@ bool ChatHandler::HandleDieCommand(char* /*args*/)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (target->isAlive())
|
||||
if (target->IsAlive())
|
||||
{
|
||||
m_session->GetPlayer()->DealDamage(target, target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
|
||||
}
|
||||
|
|
@ -3985,7 +3985,7 @@ bool ChatHandler::HandleDamageCommand(char* args)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!target->isAlive())
|
||||
if (!target->IsAlive())
|
||||
return true;
|
||||
|
||||
int32 damage_int;
|
||||
|
|
@ -6066,7 +6066,7 @@ bool ChatHandler::HandleRespawnCommand(char* /*args*/)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (target->isDead())
|
||||
if (target->IsDead())
|
||||
((Creature*)target)->Respawn();
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue