diff options
Diffstat (limited to 'games/xataxx/files/patch-board.c')
-rw-r--r-- | games/xataxx/files/patch-board.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/games/xataxx/files/patch-board.c b/games/xataxx/files/patch-board.c new file mode 100644 index 000000000000..6869030f5acd --- /dev/null +++ b/games/xataxx/files/patch-board.c @@ -0,0 +1,16 @@ +--- board.c.orig ++++ board.c +@@ -1,3 +1,4 @@ ++#include <stdlib.h> + #include <X11/Xlib.h> + #include "struct.h" + +@@ -461,7 +462,7 @@ + } + } + if (best_count==-1) +- return; ++ return(0); + move_piece(best.ox,best.oy,best.nx,best.ny,player); + } + |