diff --git a/src/physics.rs b/src/physics.rs index 26b1166..ef12445 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1544,10 +1544,7 @@ impl crate::instruction::InstructionConsumer for PhysicsStat PhysicsInputInstruction::Idle => {refresh_walk_target=false;},//literally idle! } if refresh_walk_target{ - let mut a=self.refresh_walk_target(); - if let Some(rocket_force)=self.style.rocket_force{ - a+=self.style.get_propulsion_control_dir(&self.camera,self.controls,&self.next_mouse,self.time)*rocket_force; - } + let a=self.refresh_walk_target(); if set_acceleration_cull(&mut self.body,&mut self.touching,&self.models,a){ (self.move_state,self.body.acceleration)=self.touching.get_move_state(&self.body,&self.models,&self.style,&self.camera,self.controls,&self.next_mouse,self.time); }