summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/atcommand.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 8da39653e..2b4668b35 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/06/08
+ * Fixed @skilltree printing out Unknown job for most targets used.
+ [Skotlex]
* Cleaned clif_pvpset to not send the packet to nearby characters when the
source is GM-hidden. May help fix the crash on PvP with gm-hidden
characters. [Skotlex]
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);