aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellMgr.cpp
diff options
context:
space:
mode:
authortobmaps <spambot42@yandex.ru>2011-06-20 04:04:20 +0700
committertobmaps <spambot42@yandex.ru>2011-06-20 04:04:20 +0700
commitafd524f36b75967798cbfa45eb1459136a0f0a86 (patch)
tree8f2e9722bfae4e307a2a6f5ef9cd2be17ad383e6 /src/server/game/Spells/SpellMgr.cpp
parent24764a674ba5fde71c2eeed51610a0965feb9a03 (diff)
Core/Misc: Some random cleanups and code style fixes
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rwxr-xr-xsrc/server/game/Spells/SpellMgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index de060cc3303..28dce44e2c6 100755
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -2850,7 +2850,7 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
else if ((spellproto->SpellFamilyFlags[0] & 0x40000) && spellproto->SpellIconID == 132)
return DIMINISHING_SCATTER_SHOT;
// Entrapment (own diminishing)
- else if ((spellproto->SpellVisual[0] == 7484) && spellproto->SpellIconID == 20)
+ else if (spellproto->SpellVisual[0] == 7484 && spellproto->SpellIconID == 20)
return DIMINISHING_ENTRAPMENT;
// Wyvern Sting mechanic is MECHANIC_SLEEP but the diminishing is DIMINISHING_DISORIENT
else if ((spellproto->SpellFamilyFlags[1] & 0x1000) && spellproto->SpellIconID == 1721)
@@ -2862,7 +2862,7 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
}
case SPELLFAMILY_PALADIN:
{
- // Judgement of Justice - limit duration to 10s in PvP
+ // Judgement of Justice - limit duration to 10s in PvP
if (spellproto->SpellFamilyFlags[0] & 0x100000)
return DIMINISHING_LIMITONLY;
// Turn Evil