1
0
Fork 0
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:
Marco Costalba 2009-03-24 10:50:13 +01:00
parent db46602b1f
commit 72af519e7f

View file

@ -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;