From fad7ed393b581a3dc6c72db7d4353e9543819c5b Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 21 Feb 2024 22:07:21 -0800 Subject: [PATCH] implicitly apply_to_body in apply_enum --- src/physics.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/physics.rs b/src/physics.rs index 4b90028..fe952cb 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -500,6 +500,7 @@ impl MoveState{ }, _=>(), } + self.apply_to_body(body,touching,models,hitbox_mesh,style,camera,input_state); } //function to coerce &mut self into &self fn apply_to_body(&self,body:&mut Body,touching:&TouchingState,models:&PhysicsModels,hitbox_mesh:&HitboxMesh,style:&StyleModifiers,camera:&PhysicsCamera,input_state:&InputState){