mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Use self-describing constants instead of numbers
And remove now useless comments. No functional change.
This commit is contained in:
@@ -82,7 +82,7 @@ struct LimitsType {
|
||||
LimitsType() { memset(this, 0, sizeof(LimitsType)); }
|
||||
bool use_time_management() const { return !(movetime | depth | nodes | infinite); }
|
||||
|
||||
int time[2], inc[2], movestogo, depth, nodes, movetime, infinite, ponder;
|
||||
int time[COLOR_NB], inc[COLOR_NB], movestogo, depth, nodes, movetime, infinite, ponder;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user