Changeset 3b6f46b in network-game for server/server.cpp
- Timestamp:
- Dec 23, 2013, 5:28:52 PM (11 years ago)
- Branches:
- master
- Children:
- 8ce793b
- Parents:
- e5b96e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/server.cpp
re5b96e2 r3b6f46b 538 538 539 539 map<unsigned int, Player*>::iterator it2; 540 for (it2 = mapP Layers.begin(); it2 != mapPLayers.end(); it2++)540 for (it2 = mapPlayers.begin(); it2 != mapPlayers.end(); it2++) 541 541 { 542 542 if ( msgProcessor.sendMessage(&serverMsg, sock, &(it2->second->addr), &outputLog) < 0 ) … … 546 546 // erase game from server 547 547 mapGames.erase(itGames); 548 delete game; 548 549 }else 549 550 itGames++;
Note:
See TracChangeset
for help on using the changeset viewer.