aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-02 11:20:00 -0600
committermegamage <none@none>2009-01-02 11:20:00 -0600
commita57ae23ece7773cd95a8f2b0156b89f494cbb819 (patch)
tree39f2fe6b940904595252b87643ec4e84dd9a3966
parent7fe148d52e23ac78c7366230e60689e442117a98 (diff)
*Mangos [7007] Fix: Using enum value instead of numeric constant. By: ApoC.
--HG-- branch : trunk
-rw-r--r--src/game/SpellAuras.cpp2
-rw-r--r--src/shared/revision_nr.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 282fc4bc095..2c5003b5673 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -4536,7 +4536,7 @@ void Aura::HandleModPowerRegen(bool apply, bool Real) // drinking
else if( GetId() == 20577 )
{
// cannibalize anim
- m_target->HandleEmoteCommand(398);
+ m_target->HandleEmoteCommand(EMOTE_STATE_CANNIBALIZE);
}
// Warrior talent, gain 1 rage every 3 seconds while in combat
diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h
index 3e3459cfe8d..3c96138b0a7 100644
--- a/src/shared/revision_nr.h
+++ b/src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
- #define REVISION_NR "7006"
+ #define REVISION_NR "7007"
#endif // __REVISION_NR_H__