only adds lastMovedBy when there was no damage - fixes #99

This commit is contained in:
logsol 2015-08-02 11:38:45 +02:00
parent e370adf746
commit 0edde06d67
8 changed files with 403 additions and 21 deletions

View file

@ -129,7 +129,7 @@ function (Parent, Box2D, Options, Settings, Exception, Nc, Assert) {
);
this.body.SetPosition(position);
this.flip(direction);
this.body.SetAngle((this.options.grabAngle || 0) * direction);
this.body.SetAngle((this.options.grabAngle || 0.0) * direction);
};
Item.prototype.getGrabPoint = function() {