From 7c8a7292d264ef51ded3f7a8adbba2b196fc9904 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 15 Sep 2006 16:40:01 +0000 Subject: - Added config setting "friend_auto_add" (battle/player.conf), if set, when you accept someone as your friend, both characters will show up on each other's friend list. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8769 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index badf117ed..f44493cb3 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3769,6 +3769,7 @@ static const struct battle_data_short { { "autospell_stacking", &battle_config.autospell_stacking }, { "override_mob_names", &battle_config.override_mob_names }, { "min_chat_delay", &battle_config.min_chat_delay }, + { "friend_auto_add", &battle_config.friend_auto_add }, { "homunculus_show_growth", &battle_config.homunculus_show_growth }, //[orn] { "homunculus_friendly_rate", &battle_config.homunculus_friendly_rate }, }; @@ -4208,6 +4209,7 @@ void battle_set_defaults() { battle_config.autospell_stacking = 0; battle_config.override_mob_names = 0; battle_config.min_chat_delay = 0; + battle_config.friend_auto_add = 0; battle_config.hvan_explosion_intimate = 45000; //[orn] battle_config.homunculus_show_growth = 0; //[orn] battle_config.homunculus_friendly_rate = 100; -- cgit v1.2.3-60-g2f50