- Timestamp:
- Dec 18, 2013, 12:08:50 AM (11 years ago)
- Branches:
- master
- Children:
- 4509648
- Parents:
- 6012178
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/server.cpp
r6012178 r2d78e03 1069 1069 1070 1070 int numPlayers = g->getNumPlayers(); 1071 cout << "" << endl; 1071 1072 1072 1073 serverMsg.type = MSG_TYPE_GAME_INFO; … … 1134 1135 1135 1136 map<unsigned int, Player*>& otherPlayers = g->getPlayers(); 1137 map<unsigned int, Player*>::iterator it; 1136 1138 for (it = otherPlayers.begin(); it != otherPlayers.end(); it++) 1137 1139 { … … 1149 1151 serverMsg.type = MSG_TYPE_PLAYER_JOIN_GAME; 1150 1152 1151 map<unsigned int, Player*>::iterator it;1152 1153 for (it = allPlayers.begin(); it != allPlayers.end(); it++) 1153 1154 {
Note:
See TracChangeset
for help on using the changeset viewer.