mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Avoid movement jitter (#13093)
This allows the client and server to agree on the position of objects and attached players even when there is lag.
This commit is contained in:
@@ -56,6 +56,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
// Override for the previous one when distance of block is very low
|
||||
#define BLOCK_SEND_DISABLE_LIMITS_MAX_D 1
|
||||
|
||||
/*
|
||||
Client/Server
|
||||
*/
|
||||
|
||||
// Limit maximum dtime in client/server step(...) and for collision detection
|
||||
#define DTIME_LIMIT 2.5f
|
||||
|
||||
/*
|
||||
Map-related things
|
||||
*/
|
||||
|
Reference in New Issue
Block a user