mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-11 10:31:08 +00:00
commit
843fdfb6fe
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ module.exports.entity=function(entity){
|
|||
|
||||
if (xBlock || yBlock || zBlock) {
|
||||
entity.velocity.x = getFriction(entity.velocity.x, entity.friction.x, delta);
|
||||
entity.velocity.z = getFriction(entity.velocity.x, entity.friction.x, delta);
|
||||
entity.velocity.z = getFriction(entity.velocity.z, entity.friction.z, delta);
|
||||
}
|
||||
|
||||
var oldPos = entity.position.clone();
|
||||
|
|
|
|||
Loading…
Reference in a new issue