summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-06 12:24:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-06 12:24:11 +0300
commit408da061e6098c6562f69b50d16353c7efc5cdf2 (patch)
tree06b8a255fb5ed38e9dbaed7f5ff0257b68453f83 /src/client.cpp
parent98f057d55df649353cc6500328a45b0dfe6f833e (diff)
downloadmanaplus-408da061e6098c6562f69b50d16353c7efc5cdf2.tar.gz
manaplus-408da061e6098c6562f69b50d16353c7efc5cdf2.tar.bz2
manaplus-408da061e6098c6562f69b50d16353c7efc5cdf2.tar.xz
manaplus-408da061e6098c6562f69b50d16353c7efc5cdf2.zip
Add missing npc font settings.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index e5f06016e..2eae9565f 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2353,6 +2353,7 @@ void Client::storeSafeParameters() const
std::string particleFont;
std::string helpFont;
std::string secureFont;
+ std::string npcFont;
std::string japanFont;
std::string chinaFont;
bool showBackground;
@@ -2378,6 +2379,7 @@ void Client::storeSafeParameters() const
particleFont = config.getStringValue("particleFont");
helpFont = config.getStringValue("helpFont");
secureFont = config.getStringValue("secureFont");
+ npcFont = config.getStringValue("npcFont");
japanFont = config.getStringValue("japanFont");
chinaFont = config.getStringValue("chinaFont");
@@ -2399,6 +2401,7 @@ void Client::storeSafeParameters() const
config.setValue("particleFont", "fonts/dejavusans.ttf");
config.setValue("helpFont", "fonts/dejavusansmono.ttf");
config.setValue("secureFont", "fonts/dejavusansmono.ttf");
+ config.setValue("npcFont", "fonts/dejavusans.ttf");
config.setValue("japanFont", "fonts/mplus-1p-regular.ttf");
config.setValue("chinaFont", "fonts/wqy-microhei.ttf");
config.setValue("showBackground", false);
@@ -2440,6 +2443,7 @@ void Client::storeSafeParameters() const
config.setValue("particleFont", particleFont);
config.setValue("helpFont", helpFont);
config.setValue("secureFont", secureFont);
+ config.setValue("npcFont", npcFont);
config.setValue("japanFont", japanFont);
config.setValue("chinaFont", chinaFont);
config.setValue("showBackground", showBackground);