Index: client/Client/main.cpp
===================================================================
--- client/Client/main.cpp	(revision e3308731b41a069afa9a7abba6aa611851f82db2)
+++ client/Client/main.cpp	(revision 4926168704007f6ec3b9e1d5fddf3519de87628b)
@@ -236,6 +236,14 @@
                doexit = true;
                break;
+            case ALLEGRO_KEY_S:  // pickup an item next to you
+               if (state == STATE_LOGIN) {
+                  msgTo.type = MSG_TYPE_PICKUP_FLAG;
+                  memcpy(msgTo.buffer, &curPlayerId, 4);
+                  sendMessage(&msgTo, sock, &server);
+               }
+               break;
             case ALLEGRO_KEY_D:  // drop the current item
                if (state == STATE_LOGIN) {
+                  // find the current player in the player list
                   map<unsigned int, Player>::iterator it;
                   Player* p = NULL;
