From: Marco Costalba Date: Mon, 31 May 2010 17:32:00 +0000 (+0100) Subject: Fix SearchStack and ply misalignment in RootMoveList X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ee8ccac622227f3b5184e294ffa3d2766bf4b600;hp=ee8ccac622227f3b5184e294ffa3d2766bf4b600;p=stockfish Fix SearchStack and ply misalignment in RootMoveList In RootMoveList c'tor we call qsearch() with ply == 1 but SearchStack at 0. We never noticed before because in qsearch we don't access previous's ply SearchStack, otherwise we would have got a nice crash ;-) This bug is a fall down of previous patch. No functional change. Signed-off-by: Marco Costalba ---