X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=board.c;h=abd2a68cfe6bf5dfe0af8cba2c16056f583a2a51;hb=e6e38912837a4fe2464356408d10dee950b3121c;hp=8df780b01c600489fc75fcc48536a87597fdce7a;hpb=7be221b22bc0e10fa8c2b71b6506398d1f42cb0f;p=xboard.git diff --git a/board.c b/board.c index 8df780b..abd2a68 100644 --- a/board.c +++ b/board.c @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -604,6 +604,8 @@ AnimateMove (Board board, int fromX, int fromY, int toX, int toY) Pnt frames[kFactor * 2 + 1]; int nFrames, startColor, endColor; + if(killX >= 0 && IS_LION(board[fromY][fromX])) Roar(); + /* Are we animating? */ if (!appData.animate || appData.blindfold) return;