1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-04 04:43:57 +00:00

fixed to compile in older compilers

This commit is contained in:
Zeno Rogue 2018-08-22 11:52:35 +02:00
parent 3b288f9e1d
commit 7df3a2471f
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ struct archimedean_tiling {
int real_faces; int real_faces;
int real_face_type; int real_face_type;
int repetition = 1; int repetition;
int N; int N;
ld euclidean_angle_sum; ld euclidean_angle_sum;

View File

@ -521,8 +521,8 @@ struct cell : gcell {
int heptagon::degree() { if(archimedean) return c7->type; else return S7; } int heptagon::degree() { if(archimedean) return c7->type; else return S7; }
using heptspin = walker<heptagon>; typedef walker<heptagon> heptspin;
using cellwalker = walker<cell>; typedef walker<cell> cellwalker;
#define BUGCOLORS 3 #define BUGCOLORS 3