syntactic sugar

This commit is contained in:
Quaternions 2023-09-18 18:31:15 -07:00
parent fe14d5e0fa
commit 63ce06f069

View File

@ -646,7 +646,7 @@ impl strafe_client::framework::Example for Skybox {
if self.physics.grounded&&self.physics.jump_trying { if self.physics.grounded&&self.physics.jump_trying {
//scroll will be implemented with InputInstruction::Jump(true) but it blocks setting self.jump_trying=true //scroll will be implemented with InputInstruction::Jump(true) but it blocks setting self.jump_trying=true
strafe_client::instruction::InstructionConsumer::process_instruction(&mut self.physics, strafe_client::instruction::TimedInstruction{ strafe_client::instruction::InstructionConsumer::process_instruction(&mut self.physics, strafe_client::instruction::TimedInstruction{
time:time,//this is in the past when there is no instructions! time,//this is in the past when there is no instructions!
instruction:strafe_client::body::PhysicsInstruction::Jump instruction:strafe_client::body::PhysicsInstruction::Jump
}); });
} }