diff options
author | Haruna <haru@dotalux.com> | 2015-01-11 16:58:52 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2015-01-11 16:58:52 +0100 |
commit | 670fca4c54445440c25e1114e64170e3934645f1 (patch) | |
tree | 2283314884d273c4525d5b527cd0d6c9496020d1 /src/map/script.c | |
parent | 0500a83b68485616d53db34c2ac494faba6be7eb (diff) | |
parent | d5cbfe3188c9c0f91f74772237606863c5ff6114 (diff) | |
download | hercules-670fca4c54445440c25e1114e64170e3934645f1.tar.gz hercules-670fca4c54445440c25e1114e64170e3934645f1.tar.bz2 hercules-670fca4c54445440c25e1114e64170e3934645f1.tar.xz hercules-670fca4c54445440c25e1114e64170e3934645f1.zip |
Merge pull request #438 from 4144/pcdb_checkid
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; |