mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove accidentally leftout wip
This commit is contained in:
parent
0d87154e6c
commit
302018c3aa
@ -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_()))
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user