Passing UndoInfo is not needed anymore when undoing the move
authorMarco Costalba <mcostalba@gmail.com>
Sun, 22 Feb 2009 16:49:52 +0000 (17:49 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 22 Feb 2009 20:18:02 +0000 (21:18 +0100)
commit9b257ba29de2b0d50b6bdbd175509fdb3aaf8e91
treef556067f092d90a53ec7d6cc9937dd56469480c9
parent1b0fee9b17a1220b60b3051626e8444f474e884c
Passing UndoInfo is not needed anymore when undoing the move

We store it now in the same UndoInfo struct as 'previous'
field, so when doing a move we also know where to get
the previous info when undoing the back the move.

This is needed for future patches and is a nice cleanup anyway.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/position.cpp
src/position.h
src/search.cpp