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:
parent
4a908273d0
commit
ccea416237
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user