Skip to content

Commit fd1c1a7

Browse files
committed
Readd Client::sendPlayerPos optimization (was part of 81c7f0a)
This reverts commit b49dfa9.
1 parent 112a6ad commit fd1c1a7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/client/client.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,9 +1275,8 @@ void Client::sendPlayerPos()
12751275
// Save bandwidth by only updating position when
12761276
// player is not dead and something changed
12771277

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

12821281
if (
12831282
player->last_position == player->getPosition() &&

0 commit comments

Comments
 (0)