1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Fix an obsoleted NO_PIECE_TYPE in a comment

Spotted by Ralph Stoesser.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2010-10-02 18:57:46 +01:00
parent 0aeba002c8
commit 98b09b4038

View file

@ -333,7 +333,7 @@ MaterialInfo* MaterialInfoTable::get_material_info(const Position& pos) {
// Second-degree polynomial material imbalance by Tord Romstad // Second-degree polynomial material imbalance by Tord Romstad
// //
// We use NO_PIECE_TYPE as a place holder for the bishop pair "extended piece", // We use PIECE_TYPE_NONE as a place holder for the bishop pair "extended piece",
// this allow us to be more flexible in defining bishop pair bonuses. // this allow us to be more flexible in defining bishop pair bonuses.
for (pt1 = PIECE_TYPE_NONE; pt1 <= QUEEN; pt1++) for (pt1 = PIECE_TYPE_NONE; pt1 <= QUEEN; pt1++)
{ {