aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2010-02-15 20:59:05 +0100
committerQAston <none@none>2010-02-15 20:59:05 +0100
commit4cd4c4170f70a0715daad52b2f1831b6017d647a (patch)
tree940a3d602d5c18e770258ac13aae5e57a2444f9e /src/game/SpellEffects.cpp
parent7b434fb1c350ffa6d738cef6fd401c6c184f0204 (diff)
*Backout some WTF fixes. Do things correctly, or do not touch them at all...
*Really fix windows build. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index ccf3abe022d..48ce576b38d 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1518,6 +1518,17 @@ void Spell::EffectDummy(uint32 i)
}
return;
}
+ case 31687: // Summon Water Elemental
+ {
+ if (!unitTarget)
+ return;
+
+ // Glyph of Eternal Water
+ if (unitTarget->HasAura(70937))
+ unitTarget->CastSpell(unitTarget, 70908, true);
+ else
+ unitTarget->CastSpell(unitTarget, 70907, true);
+ }
}
break;
case SPELLFAMILY_WARRIOR: