aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-06 10:27:58 -0600
committermegamage <none@none>2008-11-06 10:27:58 -0600
commit43910434c5eb2240dc4b4585ccbb5f95fa399d53 (patch)
tree3dd9f0bc0c9bdc5d6d3ab84585d9c2dea50cd2ef /src/game/Object.cpp
parent5746d0e98d8a5c4af96102835d501c47ed370def (diff)
[svn] Rewrite canSeeOrDetect function.
Minor change on trigger creatures. Remove some unused hacks in scripts. --HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp2
1 files changed, 1 insertions, 1 deletions
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