Skip to content

Commit

Permalink
Readd Client::sendPlayerPos optimization (was part of 81c7f0a)
Browse files Browse the repository at this point in the history
This reverts commit b49dfa9.
  • Loading branch information
sfan5 committed Jan 31, 2021
1 parent 112a6ad commit fd1c1a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/client/client.cpp
Expand Up @@ -1275,9 +1275,8 @@ void Client::sendPlayerPos()
// Save bandwidth by only updating position when
// player is not dead and something changed

// FIXME: This part causes breakages in mods like 3d_armor, and has been commented for now
// if (m_activeobjects_received && player->isDead())
// return;
if (m_activeobjects_received && player->isDead())
return;

if (
player->last_position == player->getPosition() &&
Expand Down

0 comments on commit fd1c1a7

Please sign in to comment.