From: Marco Costalba Date: Sun, 15 Jan 2012 07:24:50 +0000 (+0100) Subject: Make init_magic() piece agnostic X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=dfd030b67af4e651a73232ab15182fe669909ef1;hp=dfd030b67af4e651a73232ab15182fe669909ef1 Make init_magic() piece agnostic All the piece dependant data is passed now as function arguments so that the code is exactly the same for bishop and rook. No functional change. Signed-off-by: Marco Costalba ---