mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
custom modes: load mode fully
This commit is contained in:
parent
70747f938d
commit
f80492f365
10
yendor.cpp
10
yendor.cpp
@ -1453,14 +1453,8 @@ void enable_mode_by_code(modecode_t mf) {
|
||||
}
|
||||
else {
|
||||
ss.read(ss.vernum);
|
||||
if(ss.vernum < 0xAA05) {
|
||||
use_custom_land_list = false;
|
||||
mapstream::load_geometry(ss);
|
||||
}
|
||||
else {
|
||||
ss.write_char(0);
|
||||
load_mode_data_with_zero(ss);
|
||||
}
|
||||
ss.write_char(0);
|
||||
load_mode_data_with_zero(ss);
|
||||
}
|
||||
mode_description_of[mf] = mode_description1();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user