diff options
author | SmallJoker <mk939@ymail.com> | 2018-01-26 21:27:30 +0100 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-01-26 21:27:30 +0100 |
commit | 7d3295e21f96495cb0b3e2f732939344ce892e2a (patch) | |
tree | ac8c8ff9ea876d34652df016e28e82ebc31a316a | |
parent | 4f688d5616268f0d077b7e925933f54920120da4 (diff) | |
download | minetest-7d3295e21f96495cb0b3e2f732939344ce892e2a.tar.gz minetest-7d3295e21f96495cb0b3e2f732939344ce892e2a.tar.bz2 minetest-7d3295e21f96495cb0b3e2f732939344ce892e2a.zip |
[CSM] HUD Fix not updating server HUDs caused by 4f688d5
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index b8d86be47..416b097fb 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2562,7 +2562,7 @@ void Game::handleClientEvent_HandleParticleEvent(ClientEvent *event, void Game::handleClientEvent_HudAdd(ClientEvent *event, CameraOrientation *cam) { LocalPlayer *player = client->getEnv().getLocalPlayer(); - auto hud_server_to_client = client->getHUDTranslationMap(); + auto &hud_server_to_client = client->getHUDTranslationMap(); u32 server_id = event->hudadd.server_id; // ignore if we already have a HUD with that ID |