forked from townforge/townforge
allow merchant ships on first city regardless of size from v17
or we'll never get a merchant ship on languid testnets
This commit is contained in:
parent
01bd1ba04c
commit
c3603d141c
@ -234,7 +234,7 @@ static bool enable_merchant_ship(const cryptonote::BlockchainDB &db, uint32_t ci
|
||||
cryptonote::cc_city_data_t cd;
|
||||
if (!db.get_cc_city_data(city, cd))
|
||||
return false;
|
||||
if (cd.level < 4)
|
||||
if ((version >= HF_VERSION_TOWNFORGE_MERCHANT_SHIPS_0 ? city : false) && cd.level < 4)
|
||||
return false;
|
||||
|
||||
std::vector<merchant_ship_available_item_t> available_items;
|
||||
|
@ -191,6 +191,7 @@
|
||||
#define HF_VERSION_VIEW_TAGS 15
|
||||
#define HF_VERSION_2021_SCALING 15
|
||||
#define HF_VERSION_TOWNFORGE_CORU 16
|
||||
#define HF_VERSION_TOWNFORGE_MERCHANT_SHIPS_0 17
|
||||
|
||||
#define PER_KB_FEE_QUANTIZATION_DECIMALS 8
|
||||
#define CRYPTONOTE_SCALING_2021_FEE_ROUNDING_PLACES 2
|
||||
|
Loading…
Reference in New Issue
Block a user