summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index b0e133ca1..e9869e804 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -277,6 +277,7 @@ void Client::gameInit()
Net::loadIgnorePackets();
paths.setDefaultValues(getPathsDefaults());
initFeatures();
+ initPaths();
logger->log("init 4");
logger->setDebugLog(config.getBoolValue("debugLog"));
logger->setReportUnimplimented(config.getBoolValue("unimplimentedLog"));
@@ -1249,6 +1250,7 @@ int Client::gameExec()
logger->log("Init paths");
paths.init("paths.xml", UseResman_true);
paths.setDefaultValues(getPathsDefaults());
+ initPaths();
if (!SpriteReference::Empty)
{
SpriteReference::Empty = new SpriteReference(
@@ -1792,6 +1794,12 @@ void Client::initFeatures()
settings.fixDeadAnimation = features.getBoolValue("fixDeadAnimation");
}
+void Client::initPaths()
+{
+ settings.gmCommandSymbol = paths.getStringValue("gmCommandSymbol");
+ settings.gmCharCommandSymbol = paths.getStringValue("gmCharCommandSymbol");
+}
+
void Client::initTradeFilter()
{
const std::string tradeListName =