[11781] Set walking as a default creature movement mode

Signed-off-by: SilverIce <slifeleaf@gmail.com>
This commit is contained in:
MaxXx2021 2011-08-12 18:12:16 +03:00 committed by SilverIce
parent f572279a61
commit de54e63f7a
3 changed files with 5 additions and 1 deletions

View file

@ -175,6 +175,8 @@ m_creatureInfo(NULL)
m_CreatureSpellCooldowns.clear();
m_CreatureCategoryCooldowns.clear();
SetWalk(true);
}
Creature::~Creature()
@ -1485,6 +1487,7 @@ void Creature::SetDeathState(DeathState s)
SetHealth(GetMaxHealth());
SetLootRecipient(NULL);
SetWalk(true);
if (GetTemporaryFactionFlags() & TEMPFACTION_RESTORE_RESPAWN)
ClearTemporaryFaction();