Speed up attackers_to
authorFabian Fichter <ianfab@users.noreply.github.com>
Tue, 28 Aug 2018 18:19:27 +0000 (20:19 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Tue, 28 Aug 2018 18:19:27 +0000 (20:19 +0200)
commitfd7f52f4e481da34a928ecb7024ee760e539a030
tree81c5c1dbab63c172931893d726752f1bf830e4a4
parent89ec69b60b888bd449d8462e8a8a80dc7b07478f
Speed up attackers_to

Loop only over relevant piece types for a speed-up with no functional change.
src/position.cpp