aboutsummaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorAlex <24834740+GreenXenith@users.noreply.github.com>2023-02-20 12:00:37 -0800
committerGitHub <noreply@github.com>2023-02-20 21:00:37 +0100
commitaf4009d92493f43b43e83c799a694117316f2884 (patch)
tree1b0f6ea79ae2ee3f2b8540ad65abf633c09004da /src/player.cpp
parentcf19167e99d2212e6e8727ce1a277d1bb7cd719c (diff)
downloadminetest-af4009d92493f43b43e83c799a694117316f2884.tar.xz
Add chat HUD flag (#13189)
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 1e064c1da..8742454d2 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -71,7 +71,8 @@ Player::Player(const char *name, IItemDefManager *idef):
HUD_FLAG_HOTBAR_VISIBLE | HUD_FLAG_HEALTHBAR_VISIBLE |
HUD_FLAG_CROSSHAIR_VISIBLE | HUD_FLAG_WIELDITEM_VISIBLE |
HUD_FLAG_BREATHBAR_VISIBLE | HUD_FLAG_MINIMAP_VISIBLE |
- HUD_FLAG_MINIMAP_RADAR_VISIBLE | HUD_FLAG_BASIC_DEBUG;
+ HUD_FLAG_MINIMAP_RADAR_VISIBLE | HUD_FLAG_BASIC_DEBUG |
+ HUD_FLAG_CHAT_VISIBLE;
hud_hotbar_itemcount = HUD_HOTBAR_ITEMCOUNT_DEFAULT;