summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-07-16 00:30:14 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-07-16 00:30:14 +0000
commitc6b206ab5601108dbc917f78077612d6d935c7be (patch)
tree7a0bb3e818960e0fd4da92b105eee03a5cd96ee3 /src/engine.cpp
parent3839ff35294ec2fba40603595f09fd98cb9f2709 (diff)
downloadmana-client-c6b206ab5601108dbc917f78077612d6d935c7be.tar.gz
mana-client-c6b206ab5601108dbc917f78077612d6d935c7be.tar.bz2
mana-client-c6b206ab5601108dbc917f78077612d6d935c7be.tar.xz
mana-client-c6b206ab5601108dbc917f78077612d6d935c7be.zip
Now we don't use the char *homeDir anymore.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index f0902bb0..7181ac80 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -159,7 +159,7 @@ Engine::Engine():
// Create dialogs
chatWindow = new ChatWindow(
- std::string(homeDir) + std::string("chatlog.txt"));
+ config.getValue("homeDir", "") + std::string("chatlog.txt"));
statusWindow = new StatusWindow();
buyDialog = new BuyDialog();
sellDialog = new SellDialog();