]> git.sesse.net Git - stockfish/blobdiff - src/material.cpp
Fix an obsoleted NO_PIECE_TYPE in a comment
[stockfish] / src / material.cpp
index ab0f5a89a6071342a5d9564117313d6ebde7b756..71e057a7116d10d7bdb36602eb4f507de0dcd13a 100644 (file)
@@ -333,7 +333,7 @@ MaterialInfo* MaterialInfoTable::get_material_info(const Position& pos) {
 
     // 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.
     for (pt1 = PIECE_TYPE_NONE; pt1 <= QUEEN; pt1++)
     {