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.h | |
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.h')
-rw-r--r-- | src/map/battle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h index 8b7fea29f..b4a404657 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -562,6 +562,8 @@ struct Battle_Config { int feature_rodex_use_accountmail; int feature_enable_homun_autofeed; + + int storage_use_item; }; /* criteria for battle_config.idletime_critera */ |