mirror of https://github.com/minetest/minetest
Use consistent dtime_limit (#16492)
This commit is contained in:
parent
fcd9c73f2f
commit
053ca6287a
|
|
@ -109,8 +109,8 @@ void ClientEnvironment::step(float dtime)
|
||||||
dtime_max_increment = 0.01;
|
dtime_max_increment = 0.01;
|
||||||
|
|
||||||
// Don't allow overly huge dtime
|
// Don't allow overly huge dtime
|
||||||
if(dtime > 0.5)
|
if(dtime > DTIME_LIMIT)
|
||||||
dtime = 0.5;
|
dtime = DTIME_LIMIT;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Stuff that has a maximum time increment
|
Stuff that has a maximum time increment
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue