diff --git a/src/body.rs b/src/body.rs index 82915ec..23e50d8 100644 --- a/src/body.rs +++ b/src/body.rs @@ -743,13 +743,13 @@ impl crate::instruction::InstructionConsumer for PhysicsStat } //selectively update body match &ins.instruction { - PhysicsInstruction::SetWalkTargetVelocity(_) => (),//TODO: queue instructions and do self.time=ins.time, + PhysicsInstruction::SetWalkTargetVelocity(_) + |PhysicsInstruction::SetControlDir(_) => self.time=ins.time,//TODO: queue instructions PhysicsInstruction::RefreshWalkTarget |PhysicsInstruction::ReachWalkTargetVelocity |PhysicsInstruction::CollisionStart(_) |PhysicsInstruction::CollisionEnd(_) |PhysicsInstruction::StrafeTick - |PhysicsInstruction::SetControlDir(_) |PhysicsInstruction::Jump => self.advance_time(ins.time), } match ins.instruction {