mirror of https://github.com/axmolengine/axmol.git
fixed #217
This commit is contained in:
parent
22f7521cd3
commit
ff4a9e42fd
|
@ -305,14 +305,14 @@ namespace cocos2d{
|
|||
NSMutableArray<CCNode*>::NSMutableArrayIterator it;
|
||||
for (it = m_pChildren->begin(); it != m_pChildren->end(); ++it)
|
||||
{
|
||||
assert(row < rows.size());
|
||||
|
||||
// if it has no value, break
|
||||
if (! *it)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
assert(row < rows.size());
|
||||
|
||||
rowColumns = rows[row];
|
||||
// can not have zero columns on a row
|
||||
assert(rowColumns);
|
||||
|
|
Loading…
Reference in New Issue