Merge pull request #74 from cottonflop/dev

Fix for incorrect new particle positioning (issue #73)
This commit is contained in:
Richard Davey
2013-09-30 03:20:11 -07:00
+2 -2
View File
@@ -363,8 +363,8 @@ Phaser.Sprite.prototype.reset = function(x, y) {
this.x = x;
this.y = y;
this.position.x = x;
this.position.y = y;
this.position.x = this.x - (this.game.world.camera.x * this.scrollFactor.x);
this.position.y = this.y - (this.game.world.camera.y * this.scrollFactor.y);
this.alive = true;
this.exists = true;
this.visible = true;