Rev 119 | Rev 136 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 119 | Rev 130 | ||
|---|---|---|---|
| Line 386... | Line 386... | ||
| 386 | the_board.has_playerchanged = true; // do the movement and switch players |
386 | the_board.has_playerchanged = true; // do the movement and switch players |
| 387 | 387 | ||
| 388 | // forget the hovered and selected positions |
388 | // forget the hovered and selected positions |
| 389 | Board_SetSelectedAndHovered (&the_board, -1, -1, -1, -1); |
389 | Board_SetSelectedAndHovered (&the_board, -1, -1, -1, -1); |
| 390 | animation_endtime = current_time + ANIMATION_DURATION; // wait for animation time seconds |
390 | animation_endtime = current_time + ANIMATION_DURATION; // wait for animation time seconds |
| 391 | sound_playtime = current_time + ANIMATION_DURATION - 0.1f; // play sound near the end of animation |
- | |
| 392 | } |
391 | } |
| 393 | 392 | ||
| 394 | // else it was a hint |
393 | // else it was a hint |
| 395 | else |
394 | else |
| 396 | { |
395 | { |