Skip to content

Commit df989fb

Browse files
committed
TC Retail: GUID difference correction
1 parent 8c6d1c9 commit df989fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ElunaEventMgr.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,10 @@ ElunaEventProcessor* EventMgr::GetGlobalProcessor(GlobalEventSpace space)
225225

226226
uint64 EventMgr::CreateObjectProcessor(WorldObject* obj)
227227
{
228-
#if !ELUNA_CMANGOS && !ELUNA_VMANGOS
228+
#if !ELUNA_CMANGOS && !ELUNA_VMANGOS && (ELUNA_EXPANSION != EXP_RETAIL)
229229
uint64 id = obj->GetGUID().GetRawValue();
230+
#elif ELUNA_EXPANSION == EXP_RETAIL
231+
uint64 id = obj->GetGUID().GetCounter();
230232
#else
231233
uint64 id = obj->GetObjectGuid().GetRawValue();
232234
#endif

0 commit comments

Comments
 (0)