diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-09 13:40:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 11:31:34 +0300 |
commit | 7dfdffc814f164fe7f6461f9767cc531ef150c83 (patch) | |
tree | f1a260ce24d5906e9d386c2854d8373bacafc48b /src/map/script.c | |
parent | 94e07caca987dc83d1c42a58b10437117ae53832 (diff) | |
download | hercules-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/script.c')
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index aca4650c5..612bfa69e 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -5548,7 +5548,7 @@ BUILDIN(jobchange) if( script_hasdata(st,3) ) upper=script_getnum(st,3); - if (pcdb_checkid(job)) + if (pc->db_checkid(job)) { TBL_PC* sd; @@ -16487,7 +16487,7 @@ BUILDIN(questinfo) if(script_hasdata(st, 5)) { job = script_getnum(st, 5); - if (!pcdb_checkid(job)) + if (!pc->db_checkid(job)) ShowError("buildin_questinfo: Nonexistant Job Class.\n"); else { qi.hasJob = true; |