]> git.sesse.net Git - stockfish/commit
Remove useless code in Position::pretty()
authorlucasart <lucas.braesch@gmail.com>
Tue, 5 Aug 2014 23:04:27 +0000 (07:04 +0800)
committerlucasart <lucas.braesch@gmail.com>
Tue, 5 Aug 2014 23:04:27 +0000 (07:04 +0800)
commit888a1d34454121c3682cbd68751bcebeca8bd308
tree032157d682f902d5b52019c44f466b3b2e9c2940
parent8b88ca901779524ef17cb26c1278cb54ea3be6ae
Remove useless code in Position::pretty()
First, remove some dead code (function never called with a Move argument).

Then, remove printing of legal moves, which does not belong here. Let's keep commands orthogonal and minimal:
- the "d" command should display the board, nothing more, or less.
- "perft 1" will display the list of legal moves.

No functional change.
src/position.cpp
src/position.h