From 500db0a5b91189f15eb3444ad6b3ac541fe5afae Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 2 Aug 2024 10:28:29 -0700 Subject: [PATCH] warn about time travel --- src/physics.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/physics.rs b/src/physics.rs index f12f3d1..5e6d402 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1655,6 +1655,9 @@ fn atomic_input_instruction(state:&mut PhysicsState,data:&PhysicsData,ins:TimedI |PhysicsInstruction::Internal(PhysicsInternalInstruction::ReachWalkTargetVelocity)=>(), _=>println!("{}|{:?}",ins.time,ins.instruction), } + if ins.timeatomic_internal_instruction(state,data,TimedInstruction{time:ins.time,instruction}),