1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 19:24:48 +00:00

horodisk_from and randomwalk_size saved to save_mode_data

This commit is contained in:
Zeno Rogue 2024-03-14 19:27:50 +01:00
parent 4421143ae5
commit 424186b10d

View File

@ -996,6 +996,14 @@ void save_mode_data(hstream& f) {
f.write<int>(custom_land_wandering[i]); f.write<int>(custom_land_wandering[i]);
} }
} }
if(ls::horodisk_structure()) {
f.write<char>(4);
f.write<int>(horodisk_from);
}
if(land_structure == lsChaosRW) {
f.write<char>(5);
f.write<int>(randomwalk_size);
}
} }
EX modecode_t modecode(int mode) { EX modecode_t modecode(int mode) {