mirror of https://github.com/axmolengine/axmol.git
issue #854: fix warning
This commit is contained in:
parent
ab7db20809
commit
8fd6a7298f
|
@ -198,7 +198,7 @@ void CCTextureCache::addImageAsync(const char *path, SelectorProtocol *target, S
|
|||
texture = m_pTextures->objectForKey(pathKey);
|
||||
|
||||
std::string fullpath = pathKey;
|
||||
if (texture = m_pTextures->objectForKey(pathKey))
|
||||
if (texture != NULL)
|
||||
{
|
||||
if (target && selector)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue