1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-30 12:31:23 +00:00

fixed new geometry handling for Archimedean

This commit is contained in:
Zeno Rogue
2019-08-22 12:14:39 +02:00
parent 2f954d0538
commit a03eb0d913
23 changed files with 57 additions and 55 deletions

View File

@@ -146,7 +146,7 @@ namespace mapstream {
}
#endif
#if CAP_CRYSTAL
if(geometry == gCrystal) {
if(cryst) {
f.write(ginf[gCrystal].sides);
if(ginf[gCrystal].sides == 8)
f.write(ginf[gCrystal].vertex);
@@ -293,7 +293,7 @@ namespace mapstream {
torusconfig::activate();
}
#if CAP_CRYSTAL
if(geometry == gCrystal && f.vernum >= 10504) {
if(cryst && f.vernum >= 10504) {
int sides;
f.read(sides);
#if CAP_CRYSTAL