From 43910434c5eb2240dc4b4585ccbb5f95fa399d53 Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 6 Nov 2008 10:27:58 -0600 Subject: [svn] Rewrite canSeeOrDetect function. Minor change on trigger creatures. Remove some unused hacks in scripts. --HG-- branch : trunk --- src/game/Object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Object.cpp') diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 4fbd030217a..568e9a90a31 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -1486,7 +1486,7 @@ Creature* WorldObject::SummonCreature(uint32 id, float x, float y, float z, floa { if(GetTypeId() == TYPEID_UNIT || GetTypeId() == TYPEID_PLAYER) pCreature->setFaction(((Unit*)this)->getFaction()); - pCreature->CastSpell(pCreature, pCreature->m_spells[0], true, 0, 0, GetGUID()); + pCreature->CastSpell(pCreature, pCreature->m_spells[0], false, 0, 0, GetGUID()); } //return the creature therewith the summoner has access to it -- cgit v1.2.3