aboutsummaryrefslogtreecommitdiff
path: root/src/client/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r--src/client/game.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index 2575e5406..b14783531 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -2666,6 +2666,8 @@ void Game::handleClientEvent_HudAdd(ClientEvent *event, CameraOrientation *cam)
e->size = event->hudadd->size;
e->z_index = event->hudadd->z_index;
e->text2 = event->hudadd->text2;
+ e->bold = event->hudadd->bold;
+ e->italic = event->hudadd->italic;
m_hud_server_to_client[server_id] = player->addHud(e);
delete event->hudadd;
@@ -2731,6 +2733,10 @@ void Game::handleClientEvent_HudChange(ClientEvent *event, CameraOrientation *ca
CASE_SET(HUD_STAT_Z_INDEX, z_index, data);
CASE_SET(HUD_STAT_TEXT2, text2, sdata);
+
+ CASE_SET(HUD_STAT_BOLD, bold, booldata);
+
+ CASE_SET(HUD_STAT_ITALIC, italic, booldata);
}
#undef CASE_SET