From 302018c3aaeda3f44c5a06638121f751e710c1a1 Mon Sep 17 00:00:00 2001 From: Dmitry Kashitsyn Date: Wed, 10 Apr 2024 00:44:53 +0500 Subject: [PATCH] Remove accidentally leftout wip --- rtsim/src/rule/npc_ai.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/rtsim/src/rule/npc_ai.rs b/rtsim/src/rule/npc_ai.rs index 1440c05c7c..f9a3ed6739 100644 --- a/rtsim/src/rule/npc_ai.rs +++ b/rtsim/src/rule/npc_ai.rs @@ -343,8 +343,6 @@ fn goto(wpos: Vec3, speed_factor: f32, goal_dist: f32) -> impl Ac // Get the next waypoint on the route toward the goal let waypoint = waypoint.get_or_insert_with(|| { - // let rpos = wpos - ctx.npc.wpos; - wpos.with_z(ctx.world.sim().get_surface_alt_approx(wpos.xy().as_())) });