Changeset 934ab53 in network-game for common/MessageProcessor.cpp


Ignore:
Timestamp:
Jul 26, 2013, 9:46:09 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
c4c2a3c
Parents:
1df6bec
Message:

Added debug messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/MessageProcessor.cpp

    r1df6bec r934ab53  
    4646      bool isDuplicate = false;
    4747
    48       if (ackedMessages.find(msg->id) != ackedMessages.end())
     48      if (ackedMessages.find(msg->id) != ackedMessages.end()) {
    4949         isDuplicate = true;
     50         cout << "Got duplicate of type " << msg->type << endl;
     51      }else
     52         cout << "Got message of type " << msg->type << endl;
    5053
    5154      ackedMessages[msg->id] = getCurrentMillis();
Note: See TracChangeset for help on using the changeset viewer.