mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +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) {
|
EX color_t colorize(cell *c, char whichCanvas) {
|
||||||
auto m = crystal_map();
|
auto m = crystal_map();
|
||||||
ldcoord co = ldc0;
|
ldcoord co = ldc0;
|
||||||
int dim;
|
int dim = 3;
|
||||||
if(cryst) co = m->get_coord(c), dim = m->cs.dim;
|
if(cryst) co = m->get_coord(c), dim = m->cs.dim;
|
||||||
#if MAXMDIM >= 4
|
#if MAXMDIM >= 4
|
||||||
else if(geometry == gSpace344) {
|
else if(geometry == gSpace344) {
|
||||||
|
Loading…
Reference in New Issue
Block a user