Revision: 57
http://chessdrills.svn.sourceforge.net/chessdrills/?rev=57&view=rev
Author: phantomfive
Date: 2007-08-22 18:25:29 -0700 (Wed, 22 Aug 2007)
Log Message:
-----------
made sure that a reset() also clears the hilighted squares
Modified Paths:
--------------
base/ChessBoard.cpp
Modified: base/ChessBoard.cpp
===================================================================
--- base/ChessBoard.cpp 2007-08-22 06:01:20 UTC (rev 56)
+++ base/ChessBoard.cpp 2007-08-23 01:25:29 UTC (rev 57)
@@ -80,7 +80,7 @@
board[i][j].col = (ChessColumn)i;
board[i][j].color = (((i%2) + (j%2))%2)?CLR_BLACK:CLR_WHITE;
board[i][j].piece.type = CP_NOPIECE;
-
+ board[i][j].type = SQR_NORMAL;
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|