mirror of https://github.com/axmolengine/axmol.git
Fixes a bug in the TMX parser which caused tileset images not to load on Android.
This commit is contained in:
parent
64d6d6ed81
commit
53e4da5d5c
|
@ -453,7 +453,7 @@ void CCTMXMapInfo::startElement(void *ctx, const char *name, const char **atts)
|
|||
}
|
||||
else
|
||||
{
|
||||
tileset->m_sSourceImage = m_sResources + "/" + imagename;
|
||||
tileset->m_sSourceImage = m_sResources + (m_sResources.size() ? "/" : "") + imagename;
|
||||
}
|
||||
}
|
||||
else if(elementName == "data")
|
||||
|
|
Loading…
Reference in New Issue