cocos2d/cocos2d-x — pull request #4209 by FrancoisDupayrat (2013-11-12 16:51:15+00:00)
Title: Fix custom properties not being reset on loadNode in CCBReader

When loading a CCB file, the custom properties were not reset between CCNode, causing some nodes to have custom properties they shouldn't have. This is due to m_pCustomProperties being an instance variable of CCNodeLoader.

The patch fix this behavior by removing all objects from m_pCustomProperties before loading a CCNode.

Tested on iOS only, there is no platform-specific code.