Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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);
Add Comment
Please, Sign In to add comment