1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixed uninitialized variable

This commit is contained in:
Zeno Rogue 2019-10-12 14:42:57 +02:00
parent 6a94eef6aa
commit 58c1c04697

View File

@ -617,7 +617,7 @@ array<array<int,2>, MAX_EDGE> distlimit_table = {{
EX color_t colorize(cell *c, char whichCanvas) {
auto m = crystal_map();
ldcoord co = ldc0;
int dim;
int dim = 3;
if(cryst) co = m->get_coord(c), dim = m->cs.dim;
#if MAXMDIM >= 4
else if(geometry == gSpace344) {