*Summon all creatures by summon properties.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-25 16:20:30 -06:00
parent 2106e9f257
commit ebf53a4820
7 changed files with 39 additions and 96 deletions

View File

@@ -1650,7 +1650,7 @@ TempSummon *Map::SummonCreature(uint32 entry, float x, float y, float z, float a
uint32 mask = SUMMON_MASK_SUMMON;
if(properties)
{
if(properties->Category == SUMMON_CATEGORY_GUARDIAN
if(properties->Category == SUMMON_CATEGORY_PET
|| properties->Type == SUMMON_TYPE_GUARDIAN
|| properties->Type == SUMMON_TYPE_MINION)
mask = SUMMON_MASK_GUARDIAN;