We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6d1c9 commit df989fbCopy full SHA for df989fb
ElunaEventMgr.cpp
@@ -225,8 +225,10 @@ ElunaEventProcessor* EventMgr::GetGlobalProcessor(GlobalEventSpace space)
225
226
uint64 EventMgr::CreateObjectProcessor(WorldObject* obj)
227
{
228
-#if !ELUNA_CMANGOS && !ELUNA_VMANGOS
+#if !ELUNA_CMANGOS && !ELUNA_VMANGOS && (ELUNA_EXPANSION != EXP_RETAIL)
229
uint64 id = obj->GetGUID().GetRawValue();
230
+#elif ELUNA_EXPANSION == EXP_RETAIL
231
+ uint64 id = obj->GetGUID().GetCounter();
232
#else
233
uint64 id = obj->GetObjectGuid().GetRawValue();
234
#endif
0 commit comments