1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-30 23:15:32 +01:00

Send player position 10 times a second instead of 5. Uses more bandwidth but looks much better.

This commit is contained in:
Calinou
2012-11-26 13:40:53 +01:00
parent e0eaed5fdb
commit d37d6daba9

View File

@@ -658,7 +658,7 @@ void Client::step(float dtime)
{
float &counter = m_playerpos_send_timer;
counter += dtime;
if(counter >= 0.2)
if(counter >= 0.1)
{
counter = 0.0;
sendPlayerPos();