[6832] Not use creature localized names for pets.

This commit is contained in:
VladimirMangos 2008-11-16 16:59:00 +03:00
parent b992056123
commit e12e79a94d
2 changed files with 4 additions and 1 deletions

View file

@ -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)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "6831"
#define REVISION_NR "6832"
#endif // __REVISION_NR_H__