diff options
Diffstat (limited to 'src/main/game/cell.c')
-rw-r--r-- | src/main/game/cell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/game/cell.c b/src/main/game/cell.c index cb56330..e8322ff 100644 --- a/src/main/game/cell.c +++ b/src/main/game/cell.c @@ -50,6 +50,8 @@ cell_new(float left, float right, float top, float bottom) cell->cx = (cell->right + cell->left) / 2; cell->cy = (cell->top + cell->bottom) / 2; + cell->sign = '\0'; + return cell; } @@ -82,4 +84,4 @@ void cell_set_sign(Cell *cell, char sign) { cell->sign = sign; -}
\ No newline at end of file +} |