We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eca1ccf commit 9042ca0Copy full SHA for 9042ca0
1 file changed
ElunaEventMgr.cpp
@@ -225,7 +225,11 @@ ElunaEventProcessor* EventMgr::GetGlobalProcessor(GlobalEventSpace space)
225
226
uint64 EventMgr::CreateObjectProcessor(WorldObject* obj)
227
{
228
+#if !defined ELUNA_CMANGOS
229
uint64 id = obj->GetGUID().GetRawValue();
230
+#else
231
+ uint64 id = obj->GetObjectGuid().GetRawValue();
232
+#endif
233
auto proc = std::make_unique<ElunaEventProcessor>(this, obj);
234
ElunaEventProcessor* raw = proc.get();
235
0 commit comments