Browse Source

On n'affiche pas le mouvement si c'est un joueur humain qui joue

master
Bastien 8 years ago
committed by Squiz
parent
commit
b22a335ce8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main.c

+ 1
- 1
main.c View File

@ -315,7 +315,7 @@ int main(int argc, char **argv) {
}
#endif
/* on effectue le mouvement à l'écran */
if(validation_movement != jump_valid && movement.start_pos != movement.end_pos && movement.start_pos >= 0 && movement.end_pos >= 0 && movement.start_pos < 121 && movement.end_pos < 121)
if(validation_movement != jump_valid && movement.start_pos != movement.end_pos && movement.start_pos >= 0 && movement.end_pos >= 0 && movement.start_pos < 121 && movement.end_pos < 121 && player_state[i].ia_lib_p)
quit += display_animove_pawn(&gui_res, game_state_copy, player_state[i].branch, movement.start_pos, movement.end_pos);
/* on regarde le résultat de la validation */
if(validation_movement == invalid) {


Loading…
Cancel
Save