Skip to content

Commit 53b2c89

Browse files
authored
Fixed Linux compilation issue
Addendum to 34bea4d
1 parent 4d6f4bf commit 53b2c89

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Shared/mods/deathmatch/logic/CMapEventManager.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ bool CMapEventManager::Add(CLuaMain* pLuaMain, const std::string& strName, const
4646
}
4747

4848
// Emplace to the map
49-
m_EventsMap.emplace_hint(iter, strName,
50-
std::make_unique<CMapEvent>(pLuaMain, strName, iLuaFunction, bPropagated, eventPriority, fPriorityMod));
49+
m_EventsMap.emplace_hint(iter, strName, new CMapEvent(pLuaMain, strName, iLuaFunction, bPropagated, eventPriority, fPriorityMod));
5150
m_bHasEvents = true;
5251
return true;
5352
}

0 commit comments

Comments
 (0)