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

View File

@ -1245,8 +1245,9 @@ void Client::sendPlayerPos()
// Save bandwidth by only updating position when
// player is not dead and something changed
if (m_activeobjects_received && player->isDead())
return;
// FIXME: This part causes breakages in mods like 3d_armor, and has been commented for now
// if (m_activeobjects_received && player->isDead())
// return;
if (
player->last_position == player->getPosition() &&