diff options
author | Jedzkie <jedzkie13@rocketmail.com> | 2017-10-22 01:38:01 +0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-04-07 15:57:56 +0200 |
commit | 408982006d7e5695405b043142989a2ecdb9ffbd (patch) | |
tree | 77d6e12809290f7c0b54bf2e403b863303368a1b /src/map/battle.c | |
parent | b2f92713a6f0449d4ca319ab178d6391c021f57c (diff) | |
download | hercules-408982006d7e5695405b043142989a2ecdb9ffbd.tar.gz hercules-408982006d7e5695405b043142989a2ecdb9ffbd.tar.bz2 hercules-408982006d7e5695405b043142989a2ecdb9ffbd.tar.xz hercules-408982006d7e5695405b043142989a2ecdb9ffbd.zip |
Add an option to prevent item usage when storage is open
In official servers, you can't open boxes and use usable/consumables
items when the storage is open.
Fixes #1806
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index bd7e31d05..8c0beede2 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -7319,6 +7319,7 @@ static const struct battle_data { { "features/rodex", &battle_config.feature_rodex, 1, 0, 1, }, { "features/rodex_use_accountmail", &battle_config.feature_rodex_use_accountmail, 0, 0, 1, }, { "features/enable_homun_autofeed", &battle_config.feature_enable_homun_autofeed, 1, 0, 1, }, + { "storage_use_item", &battle_config.storage_use_item, 0, 0, 1, }, }; #ifndef STATS_OPT_OUT /** |