Fix board placement bug
This commit is contained in:
parent
4a524fad72
commit
deecfdea08
6
board.c
6
board.c
@ -552,14 +552,14 @@ board_place (
|
|||||||
board_unmark (board, target_x, target_y, value);
|
board_unmark (board, target_x, target_y, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Set value */
|
||||||
|
board_set (board, x, y, value);
|
||||||
|
|
||||||
/* Update metadata */
|
/* Update metadata */
|
||||||
meta_set_value (BOARD_QUAD (board, x, y), value);
|
meta_set_value (BOARD_QUAD (board, x, y), value);
|
||||||
meta_set_value (BOARD_ROW (board, y), value);
|
meta_set_value (BOARD_ROW (board, y), value);
|
||||||
meta_set_value (BOARD_COL (board, x), value);
|
meta_set_value (BOARD_COL (board, x), value);
|
||||||
|
|
||||||
/* Set value */
|
|
||||||
board_set (board, x, y, value);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else return false;
|
else return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user