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:
ANAND 2019-10-09 00:06:56 +05:30 committed by SmallJoker
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() &&