1
0
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:
Zeno Rogue 2024-06-02 18:01:00 +02:00
parent 70747f938d
commit f80492f365

View File

@ -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();
}