[12177] Fix ObjectGuid::GetEntry

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
This commit is contained in:
Yaki Khadafi 2012-09-03 16:46:38 +03:00 committed by Antz
parent 8c61f1c3b2
commit 5fe1d9806f
2 changed files with 2 additions and 2 deletions

View file

@ -112,7 +112,7 @@ class MANGOS_DLL_SPEC ObjectGuid
public: // accessors
uint64 GetRawValue() const { return m_guid; }
HighGuid GetHigh() const { return HighGuid((m_guid >> 52) & 0x00000FFF); }
uint32 GetEntry() const { return HasEntry() ? uint32((m_guid >> 32) & UI64LIT(0x0000000000FFFFFF)) : 0; }
uint32 GetEntry() const { return HasEntry() ? uint32((m_guid >> 32) & UI64LIT(0xFFFF)) : 0; }
uint32 GetCounter() const
{
return HasEntry()

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12176"
#define REVISION_NR "12177"
#endif // __REVISION_NR_H__