mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Use consistent dtime_limit (#16492)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user