Corrects Max Baby Third Parameter issue (#4578)

* Fixes #4576.
* Added missing case for returning battle config for Baby Third classes.
Thanks to @reunite-ro!
This commit is contained in:
Aleos 2020-01-29 17:03:24 -05:00 committed by GitHub
parent ed51647311
commit de9f667d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12739,7 +12739,11 @@ short pc_maxparameter(struct map_session_data *sd, enum e_params param) {
// Always check babies first
if( class_ & JOBL_BABY ){
return battle_config.max_baby_parameter;
if( class_ & JOBL_THIRD ){
return battle_config.max_baby_third_parameter;
}else{
return battle_config.max_baby_parameter;
}
}
// Summoner