diff options
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -516,7 +516,7 @@ int get_piece_raw_value(int piece) { } int compare_moves(const void* a, const void* b) { - return ((Move*)a)->value - ((Move*)b)->value; + return ((Move*)b)->value - ((Move*)a)->value; } void sort_moves(Move* moves, int moves_count, int* board) { |