- Timestamp:
- May 18, 2013, 9:29:09 PM (12 years ago)
- Branches:
- master
- Children:
- a78c387
- Parents:
- 2864d8e
- Location:
- common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Player.cpp
r2864d8e rb26229c 131 131 // using moveCanceled in a hacky way just to indicate that the server 132 132 // has updated some player info. Should change the variable name 133 cout << "Object at location: " << map->getObject(newPos.x/25, newPos.y/25) << endl; 133 134 switch(map->getObject(newPos.x/25, newPos.y/25)) { 134 135 case WorldMap::OBJECT_BLUE_FLAG: -
common/WorldMap.cpp
r2864d8e rb26229c 177 177 break; 178 178 case 1: 179 object = OBJECT_ RED_FLAG;179 object = OBJECT_BLUE_FLAG; 180 180 break; 181 181 case 2: 182 object = OBJECT_ BLUE_FLAG;182 object = OBJECT_RED_FLAG; 183 183 break; 184 184 }
Note:
See TracChangeset
for help on using the changeset viewer.