From 41d9386ad305bc55b2386db42cfcc44fe807cb7e Mon Sep 17 00:00:00 2001 From: Ming Date: Sat, 4 Sep 2010 09:13:34 +0000 Subject: [PATCH] issue #61: --- cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp b/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp index 3f1ef59bf1..be172f7404 100644 --- a/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp +++ b/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp @@ -77,6 +77,7 @@ namespace cocos2d { // tilesetInfo m_pTileSet = tilesetInfo; + CCX_SAFE_RETAIN(m_pTileSet); // mapInfo m_tMapTileSize = mapInfo->getTileSize();