mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Comment out the if statement that prevents sending TOSERVER_PLAYERPOS if the player is dead.
This commit is contained in:
parent
825579b43d
commit
b49dfa92ce
1 changed files with 3 additions and 2 deletions
|
@ -1245,8 +1245,9 @@ void Client::sendPlayerPos()
|
||||||
// Save bandwidth by only updating position when
|
// Save bandwidth by only updating position when
|
||||||
// player is not dead and something changed
|
// player is not dead and something changed
|
||||||
|
|
||||||
if (m_activeobjects_received && player->isDead())
|
// FIXME: This part causes breakages in mods like 3d_armor, and has been commented for now
|
||||||
return;
|
// if (m_activeobjects_received && player->isDead())
|
||||||
|
// return;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
player->last_position == player->getPosition() &&
|
player->last_position == player->getPosition() &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue