mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[Build] Most errors fixed
This commit is contained in:
parent
868302dd0b
commit
778052084e
70 changed files with 619 additions and 602 deletions
|
|
@ -73,7 +73,7 @@ void RandomMovementGenerator<Creature>::Initialize(Creature& creature)
|
|||
{
|
||||
creature.addUnitState(UNIT_STAT_ROAMING); // _MOVE set in _setRandomLocation
|
||||
|
||||
if (!creature.isAlive() || creature.hasUnitState(UNIT_STAT_NOT_MOVE))
|
||||
if (!creature.IsAlive() || creature.hasUnitState(UNIT_STAT_NOT_MOVE))
|
||||
return;
|
||||
|
||||
_setRandomLocation(creature);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue