]> git.draconx.ca Git - rrace.git/commit
Report changed positions from game_do_move.
authorNick Bowler <nbowler@draconx.ca>
Sat, 12 Mar 2022 21:31:12 +0000 (16:31 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 12 Mar 2022 21:31:12 +0000 (16:31 -0500)
commit48cf657b615567153e5ed786b6034f9b46733f9a
tree3f30812fad01f210334c4b9e071f666acf9a1f26
parent23aee3322744aa3c65de28c3ebe1509e291b8702
Report changed positions from game_do_move.

Instead of manually comparing positions before and after the move,
we can just alter the definition of game_do_move to return this
information, since it has already done most of the work internally.
src/game.c
src/game.h
src/motif_ui.c