1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-17 23:17:39 +00:00

polygons a bit cleaner, use S7 and S3 not g*

This commit is contained in:
Zeno Rogue
2017-11-06 23:38:15 +01:00
parent 35b192405d
commit 64a37d3ba2
2 changed files with 25 additions and 21 deletions

View File

@@ -958,11 +958,11 @@ int isLandValid(eLand l) {
return 0;
bool stdeuc = geometry == gNormal || geometry == gEuclid;
bool a38 = geometry == gOctagon;
bool a38 = S7 == 8;
bool a4 = S3 == 4;
bool a45 = geometry == g45;
bool a46 = geometry == g46;
bool a47 = geometry == g47;
bool a45 = a4 && S7 == 5;
bool a46 = a4 && S7 == 6;
bool a47 = a4 && S7 == 7;
bool smallsphere = S7 < 5;
bool bigsphere = S7 == 5;