fixed drop error. added carrier velocity, bugfix

This commit is contained in:
logsol 2014-12-25 15:06:36 +01:00
parent 197c4072c1
commit ece260e80e

View file

@ -360,7 +360,7 @@ function (Parent, Box2D, Settings, CollisionDetector, Item, Nc) {
this.holdingItem = null; this.holdingItem = null;
var dollVelocity = { var dollVelocity = {
x: this.body.GetLinearVelocity().x x: this.body.GetLinearVelocity().x,
y: this.body.GetLinearVelocity().y y: this.body.GetLinearVelocity().y
}; };