Skip to content

Commit 3b1f0f4

Browse files
committed
Fix werror issue for automerge
1 parent 7a6b00c commit 3b1f0f4

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/server/game/Entities/Object/Object.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3180,16 +3180,16 @@ ElunaEventProcessor * WorldObject::GetElunaEvents(int32 mapId)
31803180
if (!mgr)
31813181
return nullptr;
31823182

3183-
// Select the correct ProcessorInfo slot
3184-
std::unique_ptr<ElunaProcessorInfo>&info = (mapId == -1) ? elunaWorldEvents : elunaMapEvents;
3183+
// Select the correct ProcessorInfo slot
3184+
std::unique_ptr<ElunaProcessorInfo>&info = (mapId == -1) ? elunaWorldEvents : elunaMapEvents;
31853185

3186-
// Lazily create processor + ProcessorInfo handle
3187-
if (!info)
3188-
{
3189-
uint64 id = mgr->CreateObjectProcessor(this);
3190-
info = std::make_unique<ElunaProcessorInfo>(mgr, id);
3191-
}
3186+
// Lazily create processor + ProcessorInfo handle
3187+
if (!info)
3188+
{
3189+
uint64 id = mgr->CreateObjectProcessor(this);
3190+
info = std::make_unique<ElunaProcessorInfo>(mgr, id);
3191+
}
31923192

3193-
return mgr->GetObjectProcessor(info->GetProcessorId());
3193+
return mgr->GetObjectProcessor(info->GetProcessorId());
31943194
}
31953195
#endif

src/server/game/LuaEngine

0 commit comments

Comments
 (0)