mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 16:37:04 +00:00
[6832] Not use creature localized names for pets.
This commit is contained in:
parent
b992056123
commit
e12e79a94d
2 changed files with 4 additions and 1 deletions
|
|
@ -234,6 +234,9 @@ class Pet : public Creature
|
|||
void SetAuraUpdateMask(uint8 slot) { m_auraUpdateMask |= (uint64(1) << slot); }
|
||||
void ResetAuraUpdateMask() { m_auraUpdateMask = 0; }
|
||||
|
||||
// overwrite Creature function for name localization back to WorldObject version without localization
|
||||
const char* GetNameForLocaleIdx(int32 locale_idx) const { return WorldObject::GetNameForLocaleIdx(locale_idx); }
|
||||
|
||||
DeclinedName const* GetDeclinedNames() const { return m_declinedname; }
|
||||
|
||||
bool m_removed; // prevent overwrite pet state in DB at next Pet::Update if pet already removed(saved)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue