aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-02 15:37:33 -0600
committermegamage <none@none>2009-02-02 15:37:33 -0600
commitf641ea558a3babc69f4f67a31c8413a0b741a129 (patch)
treec94e59abe20a6627ebc1601e1016ecc32096e0ae
parente9d6bfd3bb0d2bb2b076df9d13c399322f6488df (diff)
[7222] Revert "[7206] Not set creep walking mode for recial stealth ability 58984." Author: KiriX
--HG-- branch : trunk
-rw-r--r--src/game/SpellAuras.cpp6
-rw-r--r--src/shared/revision_nr.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 48bb43e644d..d49ee7ace40 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -3281,8 +3281,7 @@ void Aura::HandleModStealth(bool apply, bool Real)
// only at real aura add
if(Real)
{
- if(GetId()!=SPELL_ID_SHADOWMELD)
- m_target->SetStandFlags(UNIT_STAND_FLAGS_CREEP);
+ m_target->SetStandFlags(UNIT_STAND_FLAGS_CREEP);
if(m_target->GetTypeId()==TYPEID_PLAYER)
m_target->SetFlag(PLAYER_FIELD_BYTES2, 0x2000);
@@ -3303,8 +3302,7 @@ void Aura::HandleModStealth(bool apply, bool Real)
// if last SPELL_AURA_MOD_STEALTH and no GM invisibility
if(!m_target->HasAuraType(SPELL_AURA_MOD_STEALTH) && m_target->GetVisibility()!=VISIBILITY_OFF)
{
- if(GetId()!=SPELL_ID_SHADOWMELD)
- m_target->RemoveStandFlags(UNIT_STAND_FLAGS_CREEP);
+ m_target->RemoveStandFlags(UNIT_STAND_FLAGS_CREEP);
if(m_target->GetTypeId()==TYPEID_PLAYER)
m_target->RemoveFlag(PLAYER_FIELD_BYTES2, 0x2000);
diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h
index fd3e69f299a..b183077cd65 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 "7221"
+ #define REVISION_NR "7222"
#endif // __REVISION_NR_H__