Core/Misc: Rename UNIT_STAT_* enums to UNIT_STATE_*
This commit is contained in:
1 parent
e602619912
commit
08be716ef8
148 files changed
+483
-483
No files matched your search
@@ -180,7 +180,7 @@ void HostileReference::updateOnlineStatus()
|
||||
// target is not in flight
|
||||
if (isValid()
|
||||
&& (getTarget()->GetTypeId() != TYPEID_PLAYER || !getTarget()->ToPlayer()->isGameMaster())
|
||||
&& !getTarget()->HasUnitState(UNIT_STAT_IN_FLIGHT)
|
||||
&& !getTarget()->HasUnitState(UNIT_STATE_IN_FLIGHT)
|
||||
&& getTarget()->IsInMap(getSourceUnit())
|
||||
)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user