[10737] Use empty name for non-unique named pets.

This let to client select appropriate name by self base at UNIT_CREATED_BY_SPELL data.
This commit is contained in:
VladimirMangos 2010-11-18 22:55:48 +03:00
parent 5579471075
commit 1fe4b1f4bb
4 changed files with 5 additions and 18 deletions

View file

@ -28,15 +28,6 @@
#include "Unit.h"
#include "Util.h"
char const* petTypeSuffix[MAX_PET_TYPE] =
{
"'s Minion", // SUMMON_PET
"'s Pet", // HUNTER_PET
"'s Guardian", // GUARDIAN_PET
"'s Companion", // PROTECTOR_PET
"'s Companion" // MINI_PET
};
Pet::Pet(PetType type) :
Creature(CREATURE_SUBTYPE_PET),
m_resetTalentsCost(0), m_resetTalentsTime(0), m_usedTalentCount(0),