mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +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 {
|
else {
|
||||||
ss.read(ss.vernum);
|
ss.read(ss.vernum);
|
||||||
if(ss.vernum < 0xAA05) {
|
ss.write_char(0);
|
||||||
use_custom_land_list = false;
|
load_mode_data_with_zero(ss);
|
||||||
mapstream::load_geometry(ss);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
ss.write_char(0);
|
|
||||||
load_mode_data_with_zero(ss);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
mode_description_of[mf] = mode_description1();
|
mode_description_of[mf] = mode_description1();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user