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>| {