Remove Sprites works as expected

This commit is contained in:
Ricardo Quesada 2014-01-16 12:22:11 -08:00
parent f600ee640d
commit afb4077de5
1 changed files with 3 additions and 5 deletions

View File

@ -276,20 +276,18 @@ void SubTest::removeByTag(int tag)
switch (subtestNumber) switch (subtestNumber)
{ {
case 1: case 1:
case 2:
case 5: case 5:
case 6:
case 9: case 9:
case 10:
_parent->removeChildByTag(tag+100, true); _parent->removeChildByTag(tag+100, true);
break; break;
case 2:
case 3: case 3:
case 4: case 4:
case 6:
case 7: case 7:
case 8: case 8:
case 10:
case 11: case 11:
case 12: case 12:
_batchNode->removeChildByTag(tag+100, true); _batchNode->removeChildByTag(tag+100, true);