Guest User

Untitled

a guest
Jun 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. diff --git a/src/game/Object.cpp b/src/game/Object.cpp
  2. index cdd9d9b..305d461 100644
  3. --- a/src/game/Object.cpp
  4. +++ b/src/game/Object.cpp
  5. @@ -1822,9 +1822,6 @@ Creature* WorldObject::SummonCreature(uint32 id, float x, float y, float z, floa
  6.  
  7. pCreature->Summon(spwtype, despwtime);
  8.  
  9. - if (GetTypeId() == TYPEID_UNIT)
  10. - pCreature->SetCreatorGuid(GetObjectGuid());
  11. -
  12. if(GetTypeId()==TYPEID_UNIT && ((Creature*)this)->AI())
  13. ((Creature*)this)->AI()->JustSummoned(pCreature);
Add Comment
Please, Sign In to add comment