movengen: Remove unused FIRST_MOVE_STAR_PREFERRED

This commit is contained in:
Calcitem 2020-12-28 15:22:33 +08:00
parent ada658ef0a
commit d78828c424
2 changed files with 0 additions and 9 deletions

View File

@ -67,8 +67,6 @@
//#define NULL_MOVE
//#define FIRST_MOVE_STAR_PREFERRED
//#define TIME_STAT
//#define CYCLE_STAT

View File

@ -50,14 +50,7 @@ ExtMove *generate<LEGAL>(/* const */ Position &pos, ExtMove *moveList)
continue;
}
#ifdef FIRST_MOVE_STAR_PREFERRED
if (Position::is_star_square(s)) {
moves.push_back((Move)s);
}
#else
*cur++ = (Move)i;
#endif
}
break;
}