File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class Bullet extends FlxSprite
3535 if (animation .finished )
3636 exists = false ;
3737 }
38- else if (touching != 0 )
38+ else if (touching != NONE )
3939 {
4040 kill ();
4141 }
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class EnemyBullet extends FlxSprite
2525 if (animation .finished )
2626 exists = false ;
2727 }
28- else if (touching != 0 )
28+ else if (touching != NONE )
2929 {
3030 kill ();
3131 }
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class Bullet extends FlxSprite
3232 // If the bullet makes it 64 pixels off the side of the screen, kill it
3333 kill ();
3434 }
35- else if (touching != 0 )
35+ else if (touching != NONE )
3636 {
3737 // We want the bullet to go away when it hits something, not just stop.
3838 kill ();
You can’t perform that action at this time.
0 commit comments