1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 15:40:26 +00:00

mapeditor:: save plevel_factor

This commit is contained in:
Zeno Rogue 2021-10-07 13:24:08 +02:00
parent b866647622
commit 2e5b46ff45

View File

@ -501,6 +501,7 @@ EX namespace mapstream {
f.write(hybrid::csteps);
f.write(product::cspin);
f.write(product::cmirror);
f.write(vid.plevel_factor);
}
if(rotspace) {
f.write(hybrid::csteps);
@ -626,6 +627,7 @@ EX namespace mapstream {
f.read(hybrid::csteps);
if(vernum >= 0xA80D) f.read(product::cspin);
if(vernum >= 0xA833) f.read(product::cmirror);
if(vernum >= 0xA908) f.read(vid.plevel_factor);
}
if(geometry == gRotSpace && vernum >= 0xA833) {
f.read(hybrid::csteps);