summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);