aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-04-11 19:18:53 +0300
committereug-vs <eugene@eug-vs.xyz>2022-04-17 14:57:28 +0300
commit58fdd68496e369558dcba53361563dadae7e37a6 (patch)
tree7a17f51a64658886b2ebb8f7723e1a6dcbe0bc4e /src/main.c
parent0333b7fa851e222c4a4d183ef9ae6d6dab7559cb (diff)
downloadcarcassonne-engine-c-58fdd68496e369558dcba53361563dadae7e37a6.tar.gz
feat: return meeples home on structure completionHEADmaster
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 3454c61..faad695 100644
--- a/src/main.c
+++ b/src/main.c
@@ -89,6 +89,7 @@ int main() {
else wprintw(messages_win, "Could not place tile %s (%c) at position %i\n", tile.edges, tile.center, position);
refresh_structure_groups(board);
+ complete_structures(board, available_meeples);
refresh_meeple_map(board, meeple_map);
/* meeple placement */