diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 22:20:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:17 +0300 |
commit | 576b7dca4676ba2c1ea63afb6bbc96fd11183048 (patch) | |
tree | 5eef4087911e0e74ebcfb4d2026b811f0256cc71 /src/being.cpp | |
parent | c97f245c597ebe8f488e72c435960dbee9bf66c6 (diff) | |
download | mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.gz mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.bz2 mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.xz mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.zip |
improve dirs usage in Client.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being.cpp b/src/being.cpp index 287cc3ecd..1a1ae6477 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -2745,10 +2745,10 @@ std::string Being::loadComment(const std::string &name, const int type) switch (type) { case PLAYER: - str = Client::getUsersDirectory(); + str = client->getUsersDirectory(); break; case NPC: - str = Client::getNpcsDirectory(); + str = client->getNpcsDirectory(); break; default: return ""; @@ -2775,10 +2775,10 @@ void Being::saveComment(const std::string &name, switch (type) { case PLAYER: - dir = Client::getUsersDirectory(); + dir = client->getUsersDirectory(); break; case NPC: - dir = Client::getNpcsDirectory(); + dir = client->getNpcsDirectory(); break; default: return; |