mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Readd Client::sendPlayerPos optimization (was part of 81c7f0a)
This reverts commit b49dfa92ce3ef37b1b73698906c64191fb47e226.
This commit is contained in:
parent
112a6adb10
commit
fd1c1a755e
@ -1275,9 +1275,8 @@ void Client::sendPlayerPos()
|
|||||||
// Save bandwidth by only updating position when
|
// Save bandwidth by only updating position when
|
||||||
// player is not dead and something changed
|
// player is not dead and something changed
|
||||||
|
|
||||||
// FIXME: This part causes breakages in mods like 3d_armor, and has been commented for now
|
if (m_activeobjects_received && player->isDead())
|
||||||
// if (m_activeobjects_received && player->isDead())
|
return;
|
||||||
// return;
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
player->last_position == player->getPosition() &&
|
player->last_position == player->getPosition() &&
|
||||||
|
Loading…
Reference in New Issue
Block a user