diff options
Diffstat (limited to 'src/map/homunculus.c')
-rw-r--r-- | src/map/homunculus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/homunculus.c b/src/map/homunculus.c index 6787ca43d..1d7b44168 100644 --- a/src/map/homunculus.c +++ b/src/map/homunculus.c @@ -244,7 +244,7 @@ int merc_hom_levelup(struct homun_data *hd) m_class = hom_class2mapid(hd->homunculus.class_); - if((m_class&HOM_REG) && hd->homunculus.level >= battle_config.hom_max_level || (m_class&HOM_S) && hd->homunculus.level >= battle_config.hom_S_max_level || !hd->exp_next || hd->homunculus.exp < hd->exp_next) + if((m_class&HOM_REG) && (hd->homunculus.level >= battle_config.hom_max_level || ((m_class&HOM_S) && hd->homunculus.level >= battle_config.hom_S_max_level) || !hd->exp_next || hd->homunculus.exp < hd->exp_next)) return 0 ; hom = &hd->homunculus; |