summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-03 22:41:52 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-03 22:41:52 +0000
commit36e4e442f21ed7193c4510a9bb4fcc733f821757 (patch)
treeda37bf7188e018d6fa150ba17d8bfdc9ee1d92fa /src/map/battle.c
parentd6087662f5c19b693a000126d02ced43aad5d2f7 (diff)
downloadhercules-36e4e442f21ed7193c4510a9bb4fcc733f821757.tar.gz
hercules-36e4e442f21ed7193c4510a9bb4fcc733f821757.tar.bz2
hercules-36e4e442f21ed7193c4510a9bb4fcc733f821757.tar.xz
hercules-36e4e442f21ed7193c4510a9bb4fcc733f821757.zip
Adding new config min_npc_vending_distance which simulates the official 'no vending near npcs' feature. super mega credits to masao
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16227 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 71c4f1e7f..f407b49c9 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5329,6 +5329,7 @@ static const struct _battle_data {
{ "skill_amotion_leniency", &battle_config.skill_amotion_leniency, 90, 0, 100 },
{ "mvp_tomb_enabled", &battle_config.mvp_tomb_enabled, 1, 0, 1 },
{ "feature.atcommand_suggestions", &battle_config.atcommand_suggestions_enabled, 0, 0, 1 },
+ { "min_npc_vending_distance", &battle_config.min_npc_vending_distance, 0, 0, 100 },
};