Fix for incorrect new particle positioning

This commit is contained in:
Betsy Cottonflop
2013-09-28 16:52:37 -07:00
parent 497d15b5bc
commit 40b968028a
+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;