summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnnieRuru <jeankofannie2@gmail.com>2019-03-11 06:01:00 +0800
committerAnnieRuru <jeankofannie2@gmail.com>2019-03-11 06:01:00 +0800
commit8134708f3880c6a23fd42262c4a1b4fe5bfbc5dc (patch)
tree95c685f58ddeecd7fed7d9c316547a9e666d0dc4 /src
parent1ac84c2dd856087a4a72fec95b3322137187637a (diff)
downloadhercules-8134708f3880c6a23fd42262c4a1b4fe5bfbc5dc.tar.gz
hercules-8134708f3880c6a23fd42262c4a1b4fe5bfbc5dc.tar.bz2
hercules-8134708f3880c6a23fd42262c4a1b4fe5bfbc5dc.tar.xz
hercules-8134708f3880c6a23fd42262c4a1b4fe5bfbc5dc.zip
Apply temporary fix so Job_Super_Novice_E no longer crash client
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index ea18715bb..83e2affc0 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -12335,7 +12335,8 @@ static bool pc_has_second_costume(struct map_session_data *sd)
{
nullpo_retr(false, sd);
- if ((sd->job & JOBL_THIRD) != 0)
+// FIXME: JOB_SUPER_NOVICE_E(4190) is not supposed to be 3rd Job. (Issue#2383)
+ if ((sd->job & JOBL_THIRD) != 0 && (sd->job & MAPID_BASEMASK) != MAPID_NOVICE)
return true;
return false;
}