Skip to content

Commit d2e1b40

Browse files
committed
Merge pull request #187 from IQAndreas/revert-flxgroup-revive
Revert "Add `FlxGroup::revive()`"
2 parents b4d3ace + 0d5953f commit d2e1b40

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/org/flixel/FlxGroup.as

+1-10
Original file line numberDiff line numberDiff line change
@@ -573,21 +573,12 @@ package org.flixel
573573
}
574574

575575
/**
576-
* Calls revive on the group itself and then on the group's members.
576+
* Calls revive on the group object. <i>Note: Does not revive any of the members!</i>
577577
*/
578578
override public function revive():void
579579
{
580580
// Revive the group itself
581581
super.revive();
582-
583-
var basic:FlxBasic;
584-
var i:uint = 0;
585-
while(i < length)
586-
{
587-
basic = members[i++] as FlxBasic;
588-
if((basic != null) && !basic.alive)
589-
basic.revive();
590-
}
591582
}
592583

593584
/**

0 commit comments

Comments
 (0)