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

prevented uninitialized variable warning

This commit is contained in:
Zeno Rogue
2018-12-06 15:34:34 +01:00
parent 1fe234fe75
commit 05d138ff69

View File

@@ -356,7 +356,7 @@ void showEuclideanMenu() {
int worldsize; int worldsize;
int euler; int euler = 0;
if(euclid) euler = 0; if(euclid) euler = 0;
else if(sphere && nonorientable) euler = 1; else if(sphere && nonorientable) euler = 1;
else if(sphere) euler = 2; else if(sphere) euler = 2;