Avoid misuse of StepAttacksBB for pawns
authorsnicolet <cassio@free.fr>
Wed, 26 Apr 2017 00:57:30 +0000 (17:57 -0700)
committerJoona Kiiski <joona@zoox.com>
Wed, 26 Apr 2017 00:57:49 +0000 (17:57 -0700)
commit49a9d4cf99e56d071af3060b3f306b9daa0a62a6
treeaf0a577a9fa0d8fe3222151810a1af6d2cc3cfdd
parentd06a8d0c188b796e115d503f85906fadb5625c70
Avoid misuse of StepAttacksBB for pawns

Make it explicit that first index of StepAttacksBB is a piece, not a piece type.

No functional change

Closes #1083
src/bitbase.cpp
src/position.h