From 408982006d7e5695405b043142989a2ecdb9ffbd Mon Sep 17 00:00:00 2001 From: Jedzkie Date: Sun, 22 Oct 2017 01:38:01 +0800 Subject: 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 --- src/map/battle.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/battle.c') 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 /** -- cgit v1.2.3-70-g09d2