Changeset 85bf1e2 in network-game for client/Client/main.cpp
- Timestamp:
- Sep 24, 2013, 4:39:52 PM (11 years ago)
- Branches:
- master
- Children:
- 3eac3b3
- Parents:
- b72ed16
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
rb72ed16 r85bf1e2 325 325 break; 326 326 case ALLEGRO_KEY_S: // pickup an item next to you 327 if (state == STATE_ LOBBY) {327 if (state == STATE_GAME) { 328 328 msgTo.type = MSG_TYPE_PICKUP_FLAG; 329 329 memcpy(msgTo.buffer, &curPlayerId, 4); … … 332 332 break; 333 333 case ALLEGRO_KEY_D: // drop the current item 334 if (state == STATE_ LOBBY) {334 if (state == STATE_GAME) { 335 335 // find the current player in the player list 336 336 map<unsigned int, Player>::iterator it;
Note:
See TracChangeset
for help on using the changeset viewer.