diff options
author | ANAND <ClobberXD@gmail.com> | 2019-10-09 00:06:56 +0530 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-10-08 20:36:56 +0200 |
commit | b49dfa92ce3ef37b1b73698906c64191fb47e226 (patch) | |
tree | e41684c783c870ad4ba850f3831a85c78e00c118 /src | |
parent | 825579b43d6454cc33607ab8eff4e896b003b801 (diff) | |
download | minetest-b49dfa92ce3ef37b1b73698906c64191fb47e226.tar.gz minetest-b49dfa92ce3ef37b1b73698906c64191fb47e226.tar.bz2 minetest-b49dfa92ce3ef37b1b73698906c64191fb47e226.zip |
Revert Client::sendPlayerPos optimization (part of 81c7f0a) (#9025)
Comment out the if statement that prevents sending TOSERVER_PLAYERPOS if the player is dead.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/client.cpp | 5 |
1 files 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() && |