Changeset cbc70eb in network-game
- Timestamp:
- Dec 26, 2013, 10:49:48 PM (11 years ago)
- Branches:
- master
- Children:
- f63aa57
- Parents:
- cd80d63
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
rcd80d63 rcbc70eb 417 417 map<unsigned int, Player*>::iterator it; 418 418 419 Player* curPlayer; 420 for(it = mapPlayers.begin(); it != mapPlayers.end(); it++) 421 { 422 if (it->second->id == curPlayerId) 423 curPlayer = it->second; 424 } 419 Player* curPlayer = mapPlayers[curPlayerId];; 425 420 426 421 cout << "Got current player" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.