diff options
| author | Anubisss <none@none> | 2009-07-11 12:08:02 +0200 |
|---|---|---|
| committer | Anubisss <none@none> | 2009-07-11 12:08:02 +0200 |
| commit | 043932dbea0829cf2894a20de811e2406daf7f25 (patch) | |
| tree | 781d803f2497cf1e70b9ef2384e8132f745d85f5 /src | |
| parent | a15748df6070c4fa91046934997129450a4a5067 (diff) | |
*Fix compile.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 361e048cb27..44a30705784 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4679,7 +4679,7 @@ void Spell::EffectScriptEffect(uint32 effIndex) if(!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT) return; - unitTarget->ForcedDespawn(); + ((Creature*)unitTarget)->ForcedDespawn(); return; } // PX-238 Winter Wondervolt TRAP |
