Subversion Repositories Games.Chess Giants

Rev

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

Rev 160 Rev 171
Line 734... Line 734...
734
 
734
 
735
         // else it was a normal move
735
         // else it was a normal move
736
         else
736
         else
737
         {
737
         {
738
            Board_SetSelectedAndHovered (&the_board, -1, -1, -1, -1); // forget the hovered and selected positions
738
            Board_SetSelectedAndHovered (&the_board, -1, -1, -1, -1); // forget the hovered and selected positions
739
            the_board.has_playerchanged = true; // and switch players
739
            opposite_player->should_wakeup = true; // and switch players
740
         }
740
         }
741
 
741
 
742
         the_scene.update = true; // update the 3D scene
742
         the_scene.update = true; // update the 3D scene
743
         animation_endtime = current_time + ANIMATION_DURATION; // play animation now
743
         animation_endtime = current_time + ANIMATION_DURATION; // play animation now
744
 
744