Rename dbg_hit_on_c() to dbg_hit_on()

Use an overload instead of a new named function.

I have found this handier and easier when adding
some quick debug code.

No functional change.
This commit is contained in:
Marco Costalba
2015-02-07 11:15:38 +01:00
parent 35aa21c1fe
commit 170bdf40cd
4 changed files with 6 additions and 6 deletions

View File

@@ -559,7 +559,7 @@ namespace {
& pos.pieces(Them)
& ~ei.attackedBy[Us][PAWN];
if(b)
if (b)
score += popcount<Max15>(b) * PawnAttackThreat;
if (Trace)