Remove accidentally leftout wip

This commit is contained in:
Dmitry Kashitsyn 2024-04-10 00:44:53 +05:00
parent 0d87154e6c
commit 302018c3aa
No known key found for this signature in database
GPG Key ID: 6C747B56FC5F1ABA

View File

@ -343,8 +343,6 @@ fn goto<S: State>(wpos: Vec3<f32>, 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_()))
});