Changeset 85da778 in network-game for common/Game.cpp
- Timestamp:
- Nov 11, 2014, 1:26:14 AM (10 years ago)
- Branches:
- master
- Children:
- 6ba31d2
- Parents:
- 48801af
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Game.cpp
r48801af r85da778 184 184 switch (it->type) { 185 185 case OBJECT_BLUE_FLAG: 186 if (p->team == 2) {186 if (p->team == Player::TEAM_RED) { 187 187 p->hasBlueFlag = true; 188 188 itemId = it->id; … … 190 190 break; 191 191 case OBJECT_RED_FLAG: 192 if (p->team == 1) {192 if (p->team == Player::TEAM_BLUE) { 193 193 p->hasRedFlag = true; 194 194 itemId = it->id;
Note:
See TracChangeset
for help on using the changeset viewer.