From 529bcd7119d275e1020d9d2497e1a4a31d294c42 Mon Sep 17 00:00:00 2001 From: Dmitry Kashitsyn Date: Mon, 8 Apr 2024 22:28:21 +0500 Subject: [PATCH] Remove now unused constant --- rtsim/src/rule/npc_ai.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/rtsim/src/rule/npc_ai.rs b/rtsim/src/rule/npc_ai.rs index a1591fcee4..1440c05c7c 100644 --- a/rtsim/src/rule/npc_ai.rs +++ b/rtsim/src/rule/npc_ai.rs @@ -331,7 +331,6 @@ fn idle() -> impl Action + Clone { /// Try to walk toward a 3D position without caring for obstacles. fn goto(wpos: Vec3, speed_factor: f32, goal_dist: f32) -> impl Action { - const STEP_DIST: f32 = 24.0; const WAYPOINT_DIST: f32 = 12.0; just(move |ctx, waypoint: &mut Option>| {