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
1 changed files with 1 additions and 1 deletions

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();