1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-07 22:49:54 +00:00

when loading save, load full mode data including custom lands

This commit is contained in:
Zeno Rogue 2024-03-27 21:31:39 +01:00
parent 4a908273d0
commit ccea416237

View File

@ -1340,7 +1340,12 @@ EX void load_last_save() {
shstream ss;
ss.s = meaning[sc.box[MODECODE_BOX]];
ss.read(ss.vernum);
mapstream::load_geometry(ss);
if(ss.vernum < 0xAA05)
mapstream::load_geometry(ss);
else {
ss.write_char(0);
load_mode_data_with_zero(ss);
}
}
loadBox();