summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-16 01:58:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-16 01:58:12 +0300
commit036df13f60e4d5c4e30d92c09fa376c147a68e9c (patch)
treea976693604fb050bb0f81681621e797a8162f6c6 /src/defaults.cpp
parentbdc9cb6d5886af2bf068bfb5ea37f724f0cecae6 (diff)
downloadmanaplus-036df13f60e4d5c4e30d92c09fa376c147a68e9c.tar.gz
manaplus-036df13f60e4d5c4e30d92c09fa376c147a68e9c.tar.bz2
manaplus-036df13f60e4d5c4e30d92c09fa376c147a68e9c.tar.xz
manaplus-036df13f60e4d5c4e30d92c09fa376c147a68e9c.zip
Add option to show player name only for selected player.s20161017
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 48febf17f..aa357648c 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -30,6 +30,8 @@
#include "enums/screendensity.h"
+#include "enums/being/visiblename.h"
+
#include "enums/input/inputaction.h"
#include "render/graphics.h"
@@ -82,7 +84,7 @@ DefaultsData* getConfigDefaults()
AddDEF("OverlayDetail", 2);
AddDEF("speechBubbleAlpha", 1.0F);
AddDEF("MostUsedServerName0", "server.themanaworld.org");
- AddDEF("visiblenames", true);
+ AddDEF("visiblenames", VisibleName::Show);
AddDEF("speech", CAST_S32(BeingSpeech::NO_NAME_IN_BUBBLE));
AddDEF("showgender", true);
AddDEF("showlevel", false);