Implemented the /call command (#7225)

Fixes #7139.
Thanks to @idk-whoami
This commit is contained in:
Lemongrass3110
2022-09-01 22:01:13 +02:00
committed by GitHub
parent 9be64f55dc
commit 6cb5b5bac6
7 changed files with 25 additions and 9 deletions

View File

@@ -11081,6 +11081,7 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
clif_equipcheckbox(sd);
#endif
clif_pet_autofeed_status(sd,false);
clif_configuration( sd, CONFIG_CALL, sd->status.disable_call );
#if PACKETVER >= 20170920
if( battle_config.homunculus_autofeed_always ){
// Always send ON or OFF
@@ -17560,6 +17561,9 @@ void clif_parse_configuration( int fd, struct map_session_data* sd ){
case CONFIG_OPEN_EQUIPMENT_WINDOW:
sd->status.show_equip = flag;
break;
case CONFIG_CALL:
sd->status.disable_call = flag;
break;
case CONFIG_PET_AUTOFEED:
// Player can not click this if he does not have a pet
if( sd->pd == nullptr || !battle_config.feature_pet_autofeed || !sd->pd->get_pet_db()->allow_autofeed ){