mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 19:37:07 +00:00
[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:
parent
5579471075
commit
1fe4b1f4bb
4 changed files with 5 additions and 18 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue