mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
[11781] Set walking as a default creature movement mode
Signed-off-by: SilverIce <slifeleaf@gmail.com>
This commit is contained in:
parent
f572279a61
commit
de54e63f7a
3 changed files with 5 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue