Sync some common names

No functional change.
This commit is contained in:
Marco Costalba
2014-04-06 10:50:27 +02:00
parent fcf2a34080
commit 64d29a6330
13 changed files with 81 additions and 81 deletions

View File

@@ -81,7 +81,7 @@ MovePicker::MovePicker(const Position& p, Move ttm, Depth d, const HistoryStats&
followupmoves = fm;
ss = s;
if (p.checkers())
if (pos.checkers())
stage = EVASION;
else
@@ -92,11 +92,11 @@ MovePicker::MovePicker(const Position& p, Move ttm, Depth d, const HistoryStats&
}
MovePicker::MovePicker(const Position& p, Move ttm, Depth d, const HistoryStats& h,
Square sq) : pos(p), history(h), cur(moves), end(moves) {
Square s) : pos(p), history(h), cur(moves), end(moves) {
assert(d <= DEPTH_ZERO);
if (p.checkers())
if (pos.checkers())
stage = EVASION;
else if (d > DEPTH_QS_NO_CHECKS)
@@ -115,7 +115,7 @@ MovePicker::MovePicker(const Position& p, Move ttm, Depth d, const HistoryStats&
else
{
stage = RECAPTURE;
recaptureSquare = sq;
recaptureSquare = s;
ttm = MOVE_NONE;
}