diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-06-26 16:53:07 +0200 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-06-26 16:53:07 +0200 | 
| commit | 2ca6ac7ab329036d0155de2de4b0a11f3a785414 (patch) | |
| tree | 7472368efb282a4380b45931f3462e9930f48a36 /server/src/customer/pathfinding.rs | |
| parent | c4b0f8d698b574c711b1e205371adfd3e3339487 (diff) | |
| download | hurrycurry-2ca6ac7ab329036d0155de2de4b0a11f3a785414.tar hurrycurry-2ca6ac7ab329036d0155de2de4b0a11f3a785414.tar.bz2 hurrycurry-2ca6ac7ab329036d0155de2de4b0a11f3a785414.tar.zst | |
boosting
Diffstat (limited to 'server/src/customer/pathfinding.rs')
| -rw-r--r-- | server/src/customer/pathfinding.rs | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/server/src/customer/pathfinding.rs b/server/src/customer/pathfinding.rs index 5056975e..73999e0c 100644 --- a/server/src/customer/pathfinding.rs +++ b/server/src/customer/pathfinding.rs @@ -41,10 +41,11 @@ impl Path {              player.update(                  &walkable,                  (next - player.position).normalize_or_zero() * 0.5, +                false,                  dt,              )          } else { -            player.update(&walkable, Vec2::ZERO, dt) +            player.update(&walkable, Vec2::ZERO, false, dt)          }      }      pub fn is_done(&self) -> bool { | 
