Skip to content

Commit 9042ca0

Browse files
committed
CMaNGOS: Core difference definition
1 parent eca1ccf commit 9042ca0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ElunaEventMgr.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,11 @@ ElunaEventProcessor* EventMgr::GetGlobalProcessor(GlobalEventSpace space)
225225

226226
uint64 EventMgr::CreateObjectProcessor(WorldObject* obj)
227227
{
228+
#if !defined ELUNA_CMANGOS
228229
uint64 id = obj->GetGUID().GetRawValue();
230+
#else
231+
uint64 id = obj->GetObjectGuid().GetRawValue();
232+
#endif
229233
auto proc = std::make_unique<ElunaEventProcessor>(this, obj);
230234
ElunaEventProcessor* raw = proc.get();
231235

0 commit comments

Comments
 (0)