From 043932dbea0829cf2894a20de811e2406daf7f25 Mon Sep 17 00:00:00 2001 From: Anubisss Date: Sat, 11 Jul 2009 12:08:02 +0200 Subject: *Fix compile. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/SpellEffects.cpp') 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 -- cgit v1.2.3