Updated Body Style command

* Now allows for Royal Guard class.
This commit is contained in:
aleos89
2016-02-25 09:05:49 -05:00
parent 7273b4d6ba
commit 11699dff87

View File

@@ -1739,7 +1739,7 @@ ACMD_FUNC(bodystyle)
// Limit body styles to certain jobs since not all of them are released yet.
if (!((sd->class_&MAPID_THIRDMASK) == MAPID_GUILLOTINE_CROSS || (sd->class_&MAPID_THIRDMASK) == MAPID_GENETIC
|| (sd->class_&MAPID_THIRDMASK) == MAPID_MECHANIC)) {
|| (sd->class_&MAPID_THIRDMASK) == MAPID_MECHANIC) || (sd->class_&MAPID_THIRDMASK) == MAPID_ROYAL_GUARD) {
clif_displaymessage(fd, msg_txt(sd,770)); // This job has no alternate body styles.
return -1;
}