Fixed job name display (#2013)

* Corrected job_name conversions because of the gap created from special event jobs.
Thanks to @hazimjauhari90!
This commit is contained in:
hazimjauhari90 2017-03-23 02:21:47 +08:00 committed by Aleos
parent 17a273864a
commit 29b06700ff

View File

@ -278,10 +278,14 @@ const char* job_name(int class_) {
case JOB_KAGEROU:
case JOB_OBORO:
case JOB_REBELLION:
case JOB_SUMMONER:
return msg_txt(103 - JOB_KAGEROU+class_);
case JOB_REBELLION:
return msg_txt(106);
case JOB_SUMMONER:
return msg_txt(108);
default:
return msg_txt(109);
}