mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add a note about setting local wind client-side
This commit is contained in:
parent
67a4d30f81
commit
f9e8276a94
@ -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;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user