diff options
author | Haru <haru@dotalux.com> | 2018-07-25 03:25:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-25 03:25:54 +0200 |
commit | a57601ad534481e29e4d9746c0442a780e13ba7e (patch) | |
tree | 8dd7ceb9939d142eda50e7482370b221d76c8b46 /src/map/pc.c | |
parent | ed988911d28ddfa64e1340389a818e94785f2cba (diff) | |
parent | f1ce1f48d541b8b574d2fbc2bc03ea92e816d71e (diff) | |
download | hercules-a57601ad534481e29e4d9746c0442a780e13ba7e.tar.gz hercules-a57601ad534481e29e4d9746c0442a780e13ba7e.tar.bz2 hercules-a57601ad534481e29e4d9746c0442a780e13ba7e.tar.xz hercules-a57601ad534481e29e4d9746c0442a780e13ba7e.zip |
Merge pull request #2138 from Asheraf/stylistupdate
Add support for bodystyle in stylist shop ui
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index f2cff8ab3..d89abcca8 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -12277,6 +12277,15 @@ static void pc_init_exp_groups(void) } } +static bool pc_has_second_costume(struct map_session_data *sd) +{ + nullpo_retr(false, sd); + + if ((sd->job & JOBL_THIRD) != 0) + return true; + return false; +} + static void do_final_pc(void) { @@ -12678,4 +12687,5 @@ void pc_defaults(void) pc->check_basicskill = pc_check_basicskill; pc->isDeathPenaltyJob = pc_isDeathPenaltyJob; + pc->has_second_costume = pc_has_second_costume; } |