mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 15:41:30 -07:00
Forgot to set 'has_incentre' on triangular grids, which don't use
grid_face_add_new(). Oops. [originally from svn r9161]
This commit is contained in:
2
grid.c
2
grid.c
@ -1559,9 +1559,11 @@ grid *grid_new_triangular(int width, int height, char *desc)
|
||||
f1->edges = NULL;
|
||||
f1->order = 3;
|
||||
f1->dots = snewn(f1->order, grid_dot*);
|
||||
f1->has_incentre = FALSE;
|
||||
f2->edges = NULL;
|
||||
f2->order = 3;
|
||||
f2->dots = snewn(f2->order, grid_dot*);
|
||||
f2->has_incentre = FALSE;
|
||||
|
||||
/* face descriptions depend on whether the row-number is
|
||||
* odd or even */
|
||||
|
Reference in New Issue
Block a user