From 27a8816bcf2b52b2d613964aa5c8b6c086981b1f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 17 Jan 2024 12:03:46 +0100 Subject: [PATCH] Comment version fallbacks for physics overrides --- src/client/content_cao.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 1dff46b9cf94a..6d363d5b22f1f 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -1787,6 +1787,7 @@ void GenericCAO::processMessage(const std::string &data) float override_speed_walk = readF32(is); // fallback for new overrides (since 5.8.0) if (is.eof()) { + // since 5.8.0 override_speed_climb = 1.0f; override_speed_crouch = 1.0f; override_liquid_fluidity = 1.0f; @@ -1794,6 +1795,7 @@ void GenericCAO::processMessage(const std::string &data) override_liquid_sink = 1.0f; override_acceleration_default = 1.0f; override_acceleration_air = 1.0f; + // since 5.9.0 override_speed_fast = 1.0f; override_acceleration_fast = 1.0f; override_speed_walk = 1.0f;