mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
2d3d:: save always3 when saving map
This commit is contained in:
parent
6e2cf3d2e7
commit
b85f6e66b1
@ -195,6 +195,7 @@ namespace mapstream {
|
|||||||
int32_t id = cellids.count(cwt.at) ? cellids[cwt.at] : -1;
|
int32_t id = cellids.count(cwt.at) ? cellids[cwt.at] : -1;
|
||||||
f.write(id);
|
f.write(id);
|
||||||
|
|
||||||
|
f.write(geom3::always3);
|
||||||
#if CAP_POLY
|
#if CAP_POLY
|
||||||
for(int i=0; i<mapeditor::USERSHAPEGROUPS; i++) for(auto usp: usershapes[i]) {
|
for(int i=0; i<mapeditor::USERSHAPEGROUPS; i++) for(auto usp: usershapes[i]) {
|
||||||
usershape *us = usp.second;
|
usershape *us = usp.second;
|
||||||
@ -435,6 +436,9 @@ namespace mapstream {
|
|||||||
savecount = 0; savetime = 0;
|
savecount = 0; savetime = 0;
|
||||||
cheater = 1;
|
cheater = 1;
|
||||||
|
|
||||||
|
dynamicval<bool> a3(geom3::always3, geom3::always3);
|
||||||
|
if(vernum >= 0xA616) f.read(geom3::always3);
|
||||||
|
|
||||||
if(vernum >= 7400) while(true) {
|
if(vernum >= 7400) while(true) {
|
||||||
int i = f.get<int>();
|
int i = f.get<int>();
|
||||||
if(i == -1) break;
|
if(i == -1) break;
|
||||||
|
Loading…
Reference in New Issue
Block a user