diff --git a/uttt.c b/uttt.c index 379cfa4..b0ff8ea 100644 --- a/uttt.c +++ b/uttt.c @@ -277,7 +277,7 @@ void ut_local_game(struct ut_state *state) { ut_show_boards(state); bool ok = getpos(state, &x, &y); if (!ok) {continue;} - int err = ut_move(state, state, x, y); + int err = ut_move(state, state, y, x); if (err) {continue;} char w = ut_winner((char *)state->boards, 0, 3); if(w)