aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-09-02 12:46:26 -0500
committermegamage <none@none>2009-09-02 12:46:26 -0500
commit8efb15c52a7e79c4f312b643ec7933e608effe47 (patch)
treefed7753924bf0a7225b665f7deb1a14c7c4ea1f5 /src/game/Creature.cpp
parentc150629f8d9ef38a25e939354b931098517874cc (diff)
*Try to fix the bug that creature does not regenerate after evade.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 47515638490..9479c628f13 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -2394,11 +2394,6 @@ bool Creature::HasSpellCooldown(uint32 spell_id) const
return (itr != m_CreatureSpellCooldowns.end() && itr->second > time(NULL)) || HasCategoryCooldown(spell_id);
}
-bool Creature::IsInEvadeMode() const
-{
- return /*!i_motionMaster.empty() &&*/ i_motionMaster.GetCurrentMovementGeneratorType() == HOME_MOTION_TYPE;
-}
-
bool Creature::HasSpell(uint32 spellID) const
{
uint8 i;