mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[11491] Step back to implicit ObjectGuid(uint64 const& guid) in wait code users updating.
Must be reverted with drop GetGUID() when code ready.
This commit is contained in:
parent
249fb836ca
commit
55cc1ea37f
2 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ class MANGOS_DLL_SPEC ObjectGuid
|
|||
{
|
||||
public: // constructors
|
||||
ObjectGuid() : m_guid(0) {}
|
||||
explicit ObjectGuid(uint64 const& guid) : m_guid(guid) {}
|
||||
ObjectGuid(uint64 const& guid) : m_guid(guid) {} // temporary allowed implicit cast, really bad in connection with operator uint64()
|
||||
ObjectGuid(HighGuid hi, uint32 entry, uint32 counter) : m_guid(counter ? uint64(counter) | (uint64(entry) << 24) | (uint64(hi) << 48) : 0) {}
|
||||
ObjectGuid(HighGuid hi, uint32 counter) : m_guid(counter ? uint64(counter) | (uint64(hi) << 48) : 0) {}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11490"
|
||||
#define REVISION_NR "11491"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue