summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
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;