From b49dfa92ce3ef37b1b73698906c64191fb47e226 Mon Sep 17 00:00:00 2001 From: ANAND Date: Wed, 9 Oct 2019 00:06:56 +0530 Subject: [PATCH] Revert Client::sendPlayerPos optimization (part of 81c7f0a) (#9025) Comment out the if statement that prevents sending TOSERVER_PLAYERPOS if the player is dead. --- src/client/client.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/client.cpp b/src/client/client.cpp index 6bb118695..caa3cc78c 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -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() &&