From 5d07bb03f39e25ee488092cffd832912cda1f88f Mon Sep 17 00:00:00 2001 From: mdiluzio Date: Mon, 22 Dec 2014 20:03:18 +0000 Subject: [PATCH] Correct using player for turn and turn for player --- source/ttrts/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ttrts/main.cpp b/source/ttrts/main.cpp index db64cea..91fbf1b 100644 --- a/source/ttrts/main.cpp +++ b/source/ttrts/main.cpp @@ -152,7 +152,7 @@ int main(int argc, char* argv[]) { // Construct the player order filename char playerOrderFileName[128]; - snprintf(playerOrderFileName, 128, "%s/Player_%i_Turn_%i.txt", gameDir.c_str(), game.GetTurn(), (int) player); + snprintf(playerOrderFileName, 128, "%s/Player_%i_Turn_%i.txt", gameDir.c_str(), (int) player, game.GetTurn()); // Wait for the player order file to be created std::cout<<"Waiting for "<< playerOrderFileName <