diff --git a/config.cpp b/config.cpp index aba4e02f..67f9e38a 100644 --- a/config.cpp +++ b/config.cpp @@ -1727,6 +1727,8 @@ EX void initConfig() { param_i(custom_land_treasure[i], "customland" + its(i) + "t", 100)->be_non_editable(); param_i(custom_land_difficulty[i], "customland" + its(i) + "d", 100)->be_non_editable(); param_i(custom_land_wandering[i], "customland" + its(i) + "w", 100)->be_non_editable(); + param_i(custom_land_ptm_runs[i], "customland" + its(i) + "r", 100)->be_non_editable(); + param_i(custom_land_ptm_mult[i], "customland" + its(i) + "m", 100)->be_non_editable(); } } diff --git a/yendor.cpp b/yendor.cpp index aa7b9eb2..a4dc45bb 100644 --- a/yendor.cpp +++ b/yendor.cpp @@ -1152,7 +1152,8 @@ EX void load_mode_data_with_zero(hstream& f) { if(!use_custom_land_list) throw hstream_exception("PTM defined in a non-custom mode"); int lt = f.get(); for(int i=0; i();; + custom_land_ptm_runs[i] = f.get(); + custom_land_ptm_mult[i] = f.get(); } break; }