Changeset b48ef09 in network-game for common/Game.cpp
- Timestamp:
- Sep 27, 2013, 3:43:51 PM (12 years ago)
- Branches:
- master
- Children:
- 7d8d5d3
- Parents:
- 803566d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Game.cpp
r803566d rb48ef09 48 48 49 49 bool Game::addPlayer(Player* p) { 50 if (players. count(p->id) == 0) {50 if (players.find(p->id) == players.end()) { 51 51 players[p->id] = p; 52 52 return true;
Note:
See TracChangeset
for help on using the changeset viewer.