summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-08 21:00:05 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-08 21:00:05 +0000
commit6078703af408ef58667dfcd2b31bfa80e56485ba (patch)
tree2b5d9688364c02f2f270e29ed38720abc3b9b503 /src
parent2c5d67942caecebe8a902331fcae7686880e9c26 (diff)
downloadhercules-6078703af408ef58667dfcd2b31bfa80e56485ba.tar.gz
hercules-6078703af408ef58667dfcd2b31bfa80e56485ba.tar.bz2
hercules-6078703af408ef58667dfcd2b31bfa80e56485ba.tar.xz
hercules-6078703af408ef58667dfcd2b31bfa80e56485ba.zip
- Fixed @skilltree printing out Unknown job for most targets used.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7056 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/atcommand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 4045e8951..5f5b61370 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7319,6 +7319,7 @@ atcommand_skilltree(const int fd, struct map_session_data* sd,
return -1;
c = pc_calc_skilltree_normalize_job(pl_sd);
+ c = pc_mapid2jobid(c, pl_sd->status.sex);
tbl = job_name(c);