Commits

Anonymous committed 056d076

Minimale ændringer

  • Participants
  • Parent commits aa0417a

Comments (0)

Files changed (1)

solarwolf/Classes/solarwolfViewController.m

 -(void)fireMoveLoop{
 	NSEnumerator* e=[fireballArray objectEnumerator];
 	id object;
-	while(object=[e nextObject]){
-		
-		if(![object objectWillLeave]){
-		[object move];
-		}
-		else{
-			[[object view] removeFromSuperview];
-			
-		}
-	}
+	
 	NSEnumerator *j=[platformArray objectEnumerator];
 	id platform;
 	while (platform=[j nextObject]) {
 	[fireballArray addObject:fireball];
 		}
 	}
-	
+	while(object=[e nextObject]){
+		
+		if(![object objectWillLeave]){
+			[object move];
+		}
+		else{
+			[[object view] removeFromSuperview];
+			
+		}
+	}
 }
 
 -(void)setUpLevel{