]> git.sesse.net Git - stockfish/blobdiff - src/move.cpp
Change Position::pst() signature
[stockfish] / src / move.cpp
index 656ef40005f5d2f3e0e682fdde97487f45fef4a4..3c906b2a7d06b9fda1559e597a31ed9baf5c6bc6 100644 (file)
@@ -95,7 +95,7 @@ const string move_to_san(Position& pos, Move m) {
   bool ambiguousMove, ambiguousFile, ambiguousRank;
   Square sq, from = move_from(m);
   Square to = move_to(m);
-  PieceType pt = type_of_piece(pos.piece_on(from));
+  PieceType pt = piece_type(pos.piece_on(from));
   string san;
 
   if (m == MOVE_NONE)