mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[Build] Most errors fixed
This commit is contained in:
parent
868302dd0b
commit
778052084e
70 changed files with 619 additions and 602 deletions
|
|
@ -1345,9 +1345,9 @@ bool ItemRequiredTarget::IsFitToRequirements(Unit* pUnitTarget) const
|
|||
switch (m_uiType)
|
||||
{
|
||||
case ITEM_TARGET_TYPE_CREATURE:
|
||||
return pUnitTarget->isAlive();
|
||||
return pUnitTarget->IsAlive();
|
||||
case ITEM_TARGET_TYPE_DEAD:
|
||||
return !pUnitTarget->isAlive();
|
||||
return !pUnitTarget->IsAlive();
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue