summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-09 13:40:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 11:31:34 +0300
commit7dfdffc814f164fe7f6461f9767cc531ef150c83 (patch)
treef1a260ce24d5906e9d386c2854d8373bacafc48b /src/map/atcommand.c
parent94e07caca987dc83d1c42a58b10437117ae53832 (diff)
downloadhercules-7dfdffc814f164fe7f6461f9767cc531ef150c83.tar.gz
hercules-7dfdffc814f164fe7f6461f9767cc531ef150c83.tar.bz2
hercules-7dfdffc814f164fe7f6461f9767cc531ef150c83.tar.xz
hercules-7dfdffc814f164fe7f6461f9767cc531ef150c83.zip
Convert pcdb_checkid into function in pc interface.
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 5e50a06ee..215ecbc70 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -971,7 +971,7 @@ ACMD(jobchange) {
return true;
}
- if (pcdb_checkid(job)) {
+ if (pc->db_checkid(job)) {
if (pc->jobchange(sd, job, upper) == 0)
clif->message(fd, msg_txt(12)); // Your job has been changed.
else {