--- src/faile/search.c +++ src/faile/search.c @@ -805,6 +805,7 @@ for (j = 0; j < indent; j++) { fputc (' ', output); } + void print_move (move_s moves[], int m, FILE *stream); print_move (&moves[0], i, output); fprintf (output, "\n"); --- src/faile/utils.c +++ src/faile/utils.c @@ -125,7 +125,7 @@ rank (target) < 1 || rank (target) > 8 || file (target) < 1 || file (target) > 8) { - sprintf (str, "*** FAILE INTERNAL ERROR ***"); + sprintf (str, "xxxx"); return; } --- src/main.cpp +++ src/main.cpp @@ -184,6 +184,9 @@ // first scene is SCENE_INIT. pGlobalInfos->SetCurrentScene(GAME_SCENE_INIT); + /* @FB 02/08/06 */ + pGlobalInfos->ReleaseKeys(); + // main game loop while( pGlobalInfos->IsGameRunning() ) { --- src/scene_main_game.cpp +++ src/scene_main_game.cpp @@ -245,7 +245,7 @@ if (pGlobalInfos->OnLeftMouseButtonDown()) { - if (chessboard->clickOnChessBoard(mouseX,mouseY,&sqX,&sqY)); + if (chessboard->clickOnChessBoard(mouseX,mouseY,&sqX,&sqY)) { // if a piece was already selected, this means the player want to move this piece if (SquareXSelected>-1 && SquareZSelected>-1)