projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f688d5
)
[CSM] HUD Fix not updating server HUDs caused by 4f688d5
author
SmallJoker
<mk939@ymail.com>
Fri, 26 Jan 2018 20:27:30 +0000
(21:27 +0100)
committer
SmallJoker
<mk939@ymail.com>
Fri, 26 Jan 2018 20:27:30 +0000
(21:27 +0100)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index b8d86be474ce8c74d42733c5ce324e0e65784e82..416b097fbd4a0670b55de5ad9dbf613d1fff6d8c 100644
(file)
--- 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