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:
parent
6a94eef6aa
commit
58c1c04697
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user