summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorDastgir <dastgirp@gmail.com>2018-08-07 18:58:55 +0530
committerHaru <haru@dotalux.com>2019-04-07 18:01:52 +0200
commitcd32aea9bdd0addf1dbd96cf1cdeb3c798d93e34 (patch)
tree9081fe065493187c30cf03e36eb1c19e26ca22b9 /src/map/battle.c
parente1e951c805916853e55ff5b9ce0531e0cf483ebf (diff)
downloadhercules-cd32aea9bdd0addf1dbd96cf1cdeb3c798d93e34.tar.gz
hercules-cd32aea9bdd0addf1dbd96cf1cdeb3c798d93e34.tar.bz2
hercules-cd32aea9bdd0addf1dbd96cf1cdeb3c798d93e34.tar.xz
hercules-cd32aea9bdd0addf1dbd96cf1cdeb3c798d93e34.zip
Added configuration to enable/disable achievement system
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 1b7bf909e..798f50b13 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7414,6 +7414,7 @@ static const struct battle_data {
{ "min_item_sell_price", &battle_config.min_item_sell_price, 0, 0, INT_MAX, },
{ "display_fake_hp_when_dead", &battle_config.display_fake_hp_when_dead, 1, 0, 1, },
{ "magicrod_type", &battle_config.magicrod_type, 0, 0, 1, },
+ { "features/enable_achievement_system", &battle_config.feature_enable_achievement, 1, 0, 1, },
};
static bool battle_set_value_sub(int index, int value)