mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
fixed mac compilation
This commit is contained in:
parent
a109e1150d
commit
ac341b5390
|
@ -1185,9 +1185,11 @@ void CGameContext::OnInit(/*class IKernel *pKernel*/)
|
||||||
|
|
||||||
// create score object (add sql later)
|
// create score object (add sql later)
|
||||||
#if defined(CONF_SQL)
|
#if defined(CONF_SQL)
|
||||||
|
#if !defined(CONF_PLATFORM_MACOSX)
|
||||||
if(g_Config.m_SvUseSQL)
|
if(g_Config.m_SvUseSQL)
|
||||||
m_pScore = new CSqlScore(this);
|
m_pScore = new CSqlScore(this);
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
m_pScore = new CFileScore(this);
|
m_pScore = new CFileScore(this);
|
||||||
// setup core world
|
// setup core world
|
||||||
|
|
Loading…
Reference in a new issue