From 1e5d5e21e151957e7ebbd1fde2942b522a11418e Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 18 Apr 2008 08:12:55 +0000 Subject: Implemented config setting 'vending_over_max', to let people configure the behavior of vending items over the MAX_ZENY limit. Default/official setting is 'yes', which makes players lose zeny that they cannot hold. Adjust as needed. This re-adds the behavior from before r11344 (see topic:180568). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12614 54d463be-8e91-2dee-dedb-b68131a5f0ec --- 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 7bf119459..19ccf23f5 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3503,6 +3503,7 @@ static const struct _battle_data { { "mob_warp", &battle_config.mob_warp, 0, 0, 1|2|4, }, { "dead_branch_active", &battle_config.dead_branch_active, 1, 0, 1, }, { "vending_max_value", &battle_config.vending_max_value, 10000000, 1, MAX_ZENY, }, + { "vending_over_max", &battle_config.vending_over_max, 1, 0, 1, }, { "show_steal_in_same_party", &battle_config.show_steal_in_same_party, 0, 0, 1, }, { "party_hp_mode", &battle_config.party_hp_mode, 0, 0, 1, }, { "show_party_share_picker", &battle_config.party_show_share_picker, 0, 0, 1, }, -- cgit v1.2.3-70-g09d2