mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Replace str_comp_num
with str_startswith
This commit is contained in:
parent
c8b3670bbc
commit
1e2b8a4a3e
|
@ -292,7 +292,7 @@ void CAutoMapper::Load(const char* pTileName)
|
||||||
{
|
{
|
||||||
pCurrentIndex->m_DefaultRule = false;
|
pCurrentIndex->m_DefaultRule = false;
|
||||||
}
|
}
|
||||||
else if(!str_comp_num(pLine, "NoLayerCopy", 11) && pCurrentRun)
|
else if(str_startswith(pLine, "NoLayerCopy") && pCurrentRun)
|
||||||
{
|
{
|
||||||
pCurrentRun->m_AutomapCopy = false;
|
pCurrentRun->m_AutomapCopy = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue