From f9e8276a9447f7a5c9e0ab8713104515c7462e77 Mon Sep 17 00:00:00 2001 From: juliancoffee Date: Fri, 1 Mar 2024 19:33:25 +0200 Subject: [PATCH] Add a note about setting local wind client-side --- client/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/lib.rs b/client/src/lib.rs index eb32f48826..87f3bfaed1 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -237,6 +237,8 @@ impl WeatherLerp { .zip(old.iter().zip(new.iter())) .for_each(|((_, current), ((_, old), (_, new)))| { *current = CompressedWeather::lerp_unclamped(old, new, t); + // `local_wind` is set for all weather cells on the client, + // which will still be inaccurate outside the "local" area current.wind = self.local_wind; }); }