Update CCSprite3D.cpp

Fixed Sprite3DCache::removeSprite3DData error
This commit is contained in:
tomi-payne 2016-04-19 10:11:29 +08:00
parent f3fd111200
commit fbadcf188a
1 changed files with 1 additions and 1 deletions

View File

@ -974,8 +974,8 @@ void Sprite3DCache::removeSprite3DData(const std::string& key)
if (it != _spriteDatas.end())
{
delete it->second;
_spriteDatas.erase(it);
}
_spriteDatas.erase(it);
}
void Sprite3DCache::removeAllSprite3DData()