summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 22:20:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commit576b7dca4676ba2c1ea63afb6bbc96fd11183048 (patch)
tree5eef4087911e0e74ebcfb4d2026b811f0256cc71 /src/being.cpp
parentc97f245c597ebe8f488e72c435960dbee9bf66c6 (diff)
downloadplus-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.gz
plus-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.bz2
plus-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.xz
plus-576b7dca4676ba2c1ea63afb6bbc96fd11183048.zip
improve dirs usage in Client.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp8
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;