Skip to content

Commit

Permalink
Comment version fallbacks for physics overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 committed Jan 17, 2024
1 parent 3958aeb commit 27a8816
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client/content_cao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1787,13 +1787,15 @@ 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;
override_liquid_fluidity_smooth = 1.0f;
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;
Expand Down

0 comments on commit 27a8816

Please sign in to comment.