diff options
author | shennetsind <ind@henn.et> | 2013-10-10 12:25:22 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-10-10 12:25:22 -0300 |
commit | c5c3381b0b8b0b59c669d474acf749db82d7edb1 (patch) | |
tree | 5947d2a80594a1be87d3f5390cd04207c54e6ca3 /src/map/battle.c | |
parent | fc4ae790a3e4c0a86beb2eec140479a9511b265d (diff) | |
download | hercules-c5c3381b0b8b0b59c669d474acf749db82d7edb1.tar.gz hercules-c5c3381b0b8b0b59c669d474acf749db82d7edb1.tar.bz2 hercules-c5c3381b0b8b0b59c669d474acf749db82d7edb1.tar.xz hercules-c5c3381b0b8b0b59c669d474acf749db82d7edb1.zip |
Introducing Bank Support
http://hercules.ws/board/topic/2455-introducing-bank-support/
Thanks to Yommy, Haru!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 928d14c22..a0e4e7ebc 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6474,6 +6474,8 @@ static const struct _battle_data { { "client_accept_chatdori", &battle_config.client_accept_chatdori, 0, 0, INT_MAX, }, { "snovice_call_type", &battle_config.snovice_call_type, 0, 0, 1, }, { "guild_notice_changemap", &battle_config.guild_notice_changemap, 2, 0, 2, }, + { "feature.banking", &battle_config.feature_banking, 1, 0, 1, }, + }; #ifndef STATS_OPT_OUT /** @@ -6695,6 +6697,14 @@ void battle_adjust_conf(void) { battle_config.feature_search_stores = 0; } #endif + +#if PACKETVER < 20130724 + if( battle_config.feature_banking ) { + ShowWarning("conf/battle/feature.conf banking is enabled but it requires PACKETVER 2013-07-24 or newer, disabling...\n"); + battle_config.feature_banking = 0; + } +#endif + #ifndef CELL_NOSTACK if (battle_config.cell_stack_limit != 1) |