Skip to content

Commit

Permalink
[bws30] Add walk state for creature how default spline mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Azerus committed Aug 12, 2011
1 parent 2eaf79b commit c8ca5a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game/Creature.cpp
Expand Up @@ -166,6 +166,7 @@ m_regenHealth(true), m_AI_locked(false), m_isDeadByDefault(false),
m_meleeDamageSchoolMask(SPELL_SCHOOL_MASK_NORMAL), m_originalEntry(0), m_temporaryFactionFlags(TEMPFACTION_NONE),
m_creatureInfo(NULL)
{
SetWalk(true);
m_regenTimer = 200;
m_valuesCount = UNIT_END;

Expand Down Expand Up @@ -1499,6 +1500,8 @@ void Creature::SetDeathState(DeathState s)
SetHealth(GetMaxHealth());
SetLootRecipient(NULL);

SetWalk(true);

if (GetTemporaryFactionFlags() & TEMPFACTION_RESTORE_RESPAWN)
ClearTemporaryFaction();

Expand Down

0 comments on commit c8ca5a9

Please sign in to comment.