Changeset 198cf2d in network-game for server


Ignore:
Timestamp:
Jul 15, 2013, 12:14:43 AM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
3de664d
Parents:
10f6fc2
Message:

MessageProcessor handles receiving multiple ACKs for the same message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/server.cpp

    r10f6fc2 r198cf2d  
    149149         timeLastUpdated = curTime;
    150150
     151         msgProcessor.cleanAckedMessages();
    151152         msgProcessor.resendUnackedMessages(sock);
    152153
     
    487488
    488489      if (n >= 0) {
    489          broadcastResponse = processMessage(clientMsg, from, mapPlayers, gameMap, unusedPlayerId, serverMsg, sock, scoreBlue, scoreRed);
     490         broadcastResponse = processMessage(clientMsg, from, msgProcessor, mapPlayers, gameMap, unusedPlayerId, serverMsg, sock, scoreBlue, scoreRed);
    490491
    491492         if (broadcastResponse)
Note: See TracChangeset for help on using the changeset viewer.