mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 17:49:35 +00:00
When asked for position key print it as an hex value
Merged from Glaurung current development snapshot. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
db46602b1f
commit
72af519e7f
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ namespace {
|
||||||
}
|
}
|
||||||
else if (token == "key")
|
else if (token == "key")
|
||||||
{
|
{
|
||||||
std::cout << "key: " << RootPosition.get_key()
|
std::cout << "key: " << std::hex << RootPosition.get_key()
|
||||||
<< " material key: " << RootPosition.get_material_key()
|
<< " material key: " << RootPosition.get_material_key()
|
||||||
<< " pawn key: " << RootPosition.get_pawn_key()
|
<< " pawn key: " << RootPosition.get_pawn_key()
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
Loading…
Add table
Reference in a new issue