diff options
author | Dastgir <dastgirp@gmail.com> | 2018-09-02 11:32:03 +0530 |
---|---|---|
committer | Dastgir <dastgirp@gmail.com> | 2018-10-13 16:45:25 +0530 |
commit | d2c21b1e412a7a2f3c965a3335ea78a992e7b873 (patch) | |
tree | c43cd899dbbfaaca7e2d225178d004e5ffe048b3 /src/map/battle.c | |
parent | 611bda248b3cb221bef4ad81f74c0508a76095d9 (diff) | |
download | hercules-d2c21b1e412a7a2f3c965a3335ea78a992e7b873.tar.gz hercules-d2c21b1e412a7a2f3c965a3335ea78a992e7b873.tar.bz2 hercules-d2c21b1e412a7a2f3c965a3335ea78a992e7b873.tar.xz hercules-d2c21b1e412a7a2f3c965a3335ea78a992e7b873.zip |
Fixed Issue #2177
If Item Price is 0, it is now changed to 1.
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index fceb30be1..9d4c416b0 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -7371,6 +7371,8 @@ static const struct battle_data { { "storage_use_item", &battle_config.storage_use_item, 0, 0, 1, }, { "features/enable_attendance_system", &battle_config.feature_enable_attendance_system,1, 0, 1, }, { "features/feature_attendance_endtime",&battle_config.feature_attendance_endtime, 1, 0, 99999999, }, + { "min_item_buy_price", &battle_config.min_item_buy_price, 1, 0, INT_MAX, }, + { "min_item_sell_price", &battle_config.min_item_sell_price, 0, 0, INT_MAX, }, }; static bool battle_set_value_sub(int index, int value) |