added linear velocity to positionStateUpdate

This commit is contained in:
logsol 2014-05-29 21:48:23 +02:00
parent 72dc454bd5
commit 927b12b726
2 changed files with 4 additions and 3 deletions

View file

@ -54,7 +54,7 @@ function(Parent, Nc, Parser, Settings) {
if(difference.x < Settings.PUNKBUSTER_DIFFERENCE_METERS
|| difference.y < Settings.PUNKBUSTER_DIFFERENCE_METERS) {
this.player.doll.updatePositionState(update.p);
this.player.doll.updatePositionState(update);
} else {
// HARD UPDATE FOR SELF
console.log(this.player.user.options.nickname + ' is cheating.')