mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Revert Client::sendPlayerPos optimization (part of 81c7f0a) (#9025)
Comment out the if statement that prevents sending TOSERVER_PLAYERPOS if the player is dead.
This commit is contained in:
parent
825579b43d
commit
b49dfa92ce
@ -1245,8 +1245,9 @@ 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
|
||||||
|
|
||||||
if (m_activeobjects_received && player->isDead())
|
// FIXME: This part causes breakages in mods like 3d_armor, and has been commented for now
|
||||||
return;
|
// if (m_activeobjects_received && player->isDead())
|
||||||
|
// return;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
player->last_position == player->getPosition() &&
|
player->last_position == player->getPosition() &&
|
||||||
|
Loading…
Reference in New Issue
Block a user