cocos2d/cocos2d-x — pull request #1322 by NatWeiss (2012-09-15 23:03:14+00:00)
Title: Fixes a bug in the TMX parser which caused tileset images not to load.

The TMX parser has a line which sets the image filename using m_sResources as a base. But if m_sResouces is empty then you would get tileset images like "/Something.png". On iOS and Mac, this is fine. But on Android, this causes the resource not to load and the whole game just gives a black screen.

This pull request fixes the issue by checking if m_sResources is empty before giving it a leading slash.