Skip to content

Commit

Permalink
Reverting attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Edouard360 committed Oct 26, 2017
1 parent 242e9e8 commit ad56008
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/networking/Networking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,12 +326,8 @@ int Networking::handleInitNetworking(unsigned char playerTag, const hlt::Map & m

std::string response;
try {
std::string readyToReplay = getString(playerTag);
std::cout << "I'm ready to replay"<<readyToReplay<<std::endl;
std::string playerTagString = std::to_string(playerTag), mapSizeString = serializeMapSize(m), mapString = serializeMap(m), prodString = serializeProductions(m);
std::cout << "I'm sending the player tag"<<playerTagString<<std::endl;
sendString(playerTag, playerTagString);
std::cout << "Now I'm sending the map size"<<mapSizeString<<std::endl;
sendString(playerTag, mapSizeString);
sendString(playerTag, prodString);
sendString(playerTag, mapString);
Expand Down

0 comments on commit ad56008

Please sign in to comment.