Replace str_comp_num with str_startswith

This commit is contained in:
heinrich5991 2019-07-31 21:19:25 +02:00
parent c8b3670bbc
commit 1e2b8a4a3e

View file

@ -292,7 +292,7 @@ void CAutoMapper::Load(const char* pTileName)
{
pCurrentIndex->m_DefaultRule = false;
}
else if(!str_comp_num(pLine, "NoLayerCopy", 11) && pCurrentRun)
else if(str_startswith(pLine, "NoLayerCopy") && pCurrentRun)
{
pCurrentRun->m_AutomapCopy = false;
}