mirror of https://github.com/axmolengine/axmol.git
Remove Sprites works as expected
This commit is contained in:
parent
f600ee640d
commit
afb4077de5
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue