From 053ca6287ad417608393b51ed1a19bde3cc04755 Mon Sep 17 00:00:00 2001 From: lhofhansl Date: Fri, 12 Sep 2025 11:29:40 -0700 Subject: [PATCH] Use consistent dtime_limit (#16492) --- src/client/clientenvironment.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/clientenvironment.cpp b/src/client/clientenvironment.cpp index ed9a23ce35..95eb3f0df7 100644 --- a/src/client/clientenvironment.cpp +++ b/src/client/clientenvironment.cpp @@ -109,8 +109,8 @@ void ClientEnvironment::step(float dtime) dtime_max_increment = 0.01; // Don't allow overly huge dtime - if(dtime > 0.5) - dtime = 0.5; + if(dtime > DTIME_LIMIT) + dtime = DTIME_LIMIT; /* Stuff that has a maximum time increment