Changeset 3d6f78f in network-game for server/server.cpp


Ignore:
Timestamp:
Dec 17, 2013, 12:46:17 AM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
1248984
Parents:
b4c5b6a
Message:

Comments and design doc changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/server.cpp

    rb4c5b6a r3d6f78f  
    10951095         Player* p = findPlayerByAddr(mapPlayers, from);
    10961096         p->team = rand() % 2; // choose a random team (either 0 or 1)
    1097          p->currentGame = g;
     1097         p->currentGame = g; // should have been done in JOIN_GAME, so not necessary
    10981098
    10991099         map<unsigned int, Player*>& otherPlayers = g->getPlayers();
Note: See TracChangeset for help on using the changeset viewer.