mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[12177] Fix ObjectGuid::GetEntry
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
This commit is contained in:
parent
8c61f1c3b2
commit
5fe1d9806f
2 changed files with 2 additions and 2 deletions
|
|
@ -112,7 +112,7 @@ class MANGOS_DLL_SPEC ObjectGuid
|
||||||
public: // accessors
|
public: // accessors
|
||||||
uint64 GetRawValue() const { return m_guid; }
|
uint64 GetRawValue() const { return m_guid; }
|
||||||
HighGuid GetHigh() const { return HighGuid((m_guid >> 52) & 0x00000FFF); }
|
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
|
uint32 GetCounter() const
|
||||||
{
|
{
|
||||||
return HasEntry()
|
return HasEntry()
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12176"
|
#define REVISION_NR "12177"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue