Unify undo_ep_move(m)

Integrate undo_ep_move in undo_move() this reduces line count
and code readibility.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2009-08-16 17:58:24 +01:00
parent b4cb1a3a9e
commit 05e70d6740
2 changed files with 20 additions and 62 deletions

View File

@@ -313,7 +313,6 @@ private:
void do_capture_move(PieceType capture, Color them, Square to, bool ep);
void do_castle_move(Move m);
void undo_castle_move(Move m);
void undo_ep_move(Move m);
void find_checkers();
template<PieceType Piece>