Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
ben authored and ben committed Jun 19, 2017
1 parent 5d07ede commit 9253a41
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CppCatchDaFlagMTA/GameManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ int GameManager::NewGameLoop(Player* a, Player* b, AlgorithmPlayer* pa, Algorith
last_move->from_x, last_move->from_y);
}

if (last_move->to_y == 0 && last_move->to_x == 9) {
int a = 1;
}

gameOn = !_moveTools(playing,TRUE);
clock++;

Expand All @@ -248,7 +252,9 @@ int GameManager::NewGameLoop(Player* a, Player* b, AlgorithmPlayer* pa, Algorith
}
std::cin.clear();
round++;
gameOn = (round < ALGOLOOP) ? true : false;
if (gameOn){
gameOn = (round < ALGOLOOP) ? true : false;
}
}
return playing;
}
Expand Down

0 comments on commit 9253a41

Please sign in to comment.