diff options
author | Raúl Benencia <rul@kalgan.cc> | 2015-03-31 16:13:05 -0300 |
---|---|---|
committer | Raúl Benencia <rul@kalgan.cc> | 2015-03-31 16:13:05 -0300 |
commit | a9b35e6086ff71e351b3861aa897777e278a4059 (patch) | |
tree | a6e173431854b1863c36f0dfaa028fcef4b5c829 | |
parent | 93eec4805aae8d3b507d17ef3eba076ecd45211d (diff) |
remove move_is_valid, will place it somewhere else
-rw-r--r-- | include/move.h | 5 | ||||
-rw-r--r-- | lib/move.c | 8 |
2 files changed, 0 insertions, 13 deletions
diff --git a/include/move.h b/include/move.h index 3844fe2..6480500 100644 --- a/include/move.h +++ b/include/move.h @@ -11,9 +11,4 @@ Move move_init(Coord, Coord); Coord move_get_orig(Move); Coord move_get_dest(Move); -/* - * Returns 1 if Move is a valid chess movement. - */ -int move_is_valid(Move); - #endif @@ -20,11 +20,3 @@ Coord move_get_orig(Move m) { Coord move_get_dest(Move m) { return m.dest; } - -/* - * Returns 1 if Move is a valid chess movement. - */ -int move_is_valid(Move m) { - return 1; -} - |