Changeset 9557f92 in network-game for common/MessageProcessor.cpp
- Timestamp:
- Jul 16, 2013, 12:22:20 AM (11 years ago)
- Branches:
- master
- Children:
- bd2502a
- Parents:
- af713bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/MessageProcessor.cpp
raf713bc r9557f92 61 61 while (it != sentMessages.end()) { 62 62 if (it->second.isAcked && (getCurrentMillis() - it->second.timeAcked) > 1000) 63 it = sentMessages.erase(it);63 sentMessages.erase(it++); 64 64 else 65 65 it++;
Note:
See TracChangeset
for help on using the changeset viewer.