This commit is contained in:
proller committed 2026-01-01 23:54:33 +01:00
1 parent 3416231274
commit 5f9750b3dd
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -163,8 +163,8 @@ void ClientEnvironment::step(f32 dtime, double uptime, unsigned int max_cycle_ms
resistance_factor = 0.97; // todo maybe depend on speed; 0.96 = ~100 nps max
resistance_factor += (1.0 - resistance_factor) *
(1 - (MAX_MAP_GENERATION_LIMIT - pf.Y / BS) /
MAX_MAP_GENERATION_LIMIT);
(1 - (FARSCALE_LIMIT - pf.Y / BS) /
FARSCALE_LIMIT);
}
// Liquid floating / sinking
+1 -1
View File
@@ -730,7 +730,7 @@ void LocalPlayer::applyControl(float dtime, Environment *env)
// fm:
// better air control when falling fast
float speed = m_speed.getLength();
const float speed = m_speed.getLength();
if (!superspeed && speed > movement_speed_fast &&
control.movement_speed) {
v3f move_direction = v3f(0, 0, 1);