summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-03-29 22:53:35 +0300
committerAndrei Karas <akaras@inbox.ru>2019-04-07 22:38:35 +0300
commit0a349742abd855ae4b6edbe8735937768cdfeb07 (patch)
tree5cd95c4160b719f5fdfe7cfc78dcceb554eb6fd8 /src/map
parent0a5ee140c74989d5fb2cbc9a22150ff66bbcfb07 (diff)
downloadhercules-0a349742abd855ae4b6edbe8735937768cdfeb07.tar.gz
hercules-0a349742abd855ae4b6edbe8735937768cdfeb07.tar.bz2
hercules-0a349742abd855ae4b6edbe8735937768cdfeb07.tar.xz
hercules-0a349742abd855ae4b6edbe8735937768cdfeb07.zip
Add allow call option
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c3
-rw-r--r--src/map/clif.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 605362fc5..349e56437 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -17021,6 +17021,9 @@ static void clif_parse_cz_config(int fd, struct map_session_data *sd)
hd->homunculus.autofeed = flag;
break;
}
+ case CZ_CONFIG_CALL:
+ sd->status.allow_call = flag;
+ break;
default:
ShowWarning("clif_parse_cz_config: Unsupported type has been received (%u).\n", type);
return;
diff --git a/src/map/clif.h b/src/map/clif.h
index 241214e8b..9e60256c6 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -556,7 +556,7 @@ enum clif_unittype {
**/
enum CZ_CONFIG {
CZ_CONFIG_OPEN_EQUIPMENT_WINDOW = 0,
- // Unknown = 1,
+ CZ_CONFIG_CALL = 1,
CZ_CONFIG_PET_AUTOFEEDING = 2,
CZ_CONFIG_HOMUNCULUS_AUTOFEEDING = 3,
};