Subversion Repositories Games.Chess Giants

Rev

Rev 140 | Rev 171 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 140 Rev 161
Line 1372... Line 1372...
1372
         the_board.move_count = move_index + 1; // update the board's move count
1372
         the_board.move_count = move_index + 1; // update the board's move count
1373
         if (the_board.viewed_move > the_board.move_count - 1)
1373
         if (the_board.viewed_move > the_board.move_count - 1)
1374
            the_board.viewed_move = the_board.move_count - 1; // and the board's viewed move as well
1374
            the_board.viewed_move = the_board.move_count - 1; // and the board's viewed move as well
1375
 
1375
 
1376
         // send a notification to the player's chat window
1376
         // send a notification to the player's chat window
1377
         Interlocutor_Notify (Interlocutor_FindOrCreate (player->name), LOCALIZE (L"Chat_TakebackAccepted"));
1377
         Interlocutor_Notify (Interlocutor_FindOrCreate (player->name), LOCALIZE (L"Chat_TakebackAccepted"), NULL);
1378
      }
1378
      }
1379
 
1379
 
1380
      // make the server set it up correctly
1380
      // make the server set it up correctly
1381
      Move_SetupFromStyle12 (last_move, positions, move_color, pawnrush_column,
1381
      Move_SetupFromStyle12 (last_move, positions, move_color, pawnrush_column,
1382
                              (can_white_castle_short != 0), (can_white_castle_long != 0), (can_black_castle_short != 0), (can_black_castle_long != 0), pretty_movestring);
1382
                              (can_white_castle_short != 0), (can_white_castle_long != 0), (can_black_castle_short != 0), (can_black_castle_long != 0), pretty_movestring);