Created
November 8, 2010 06:44
-
-
Save rsa/667441 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/game/Object.cpp b/src/game/Object.cpp | |
index cdd9d9b..305d461 100644 | |
--- a/src/game/Object.cpp | |
+++ b/src/game/Object.cpp | |
@@ -1822,9 +1822,6 @@ Creature* WorldObject::SummonCreature(uint32 id, float x, float y, float z, floa | |
pCreature->Summon(spwtype, despwtime); | |
- if (GetTypeId() == TYPEID_UNIT) | |
- pCreature->SetCreatorGuid(GetObjectGuid()); | |
- | |
if(GetTypeId()==TYPEID_UNIT && ((Creature*)this)->AI()) | |
((Creature*)this)->AI()->JustSummoned(pCreature); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment