Changeset 2df63d6 in network-game for client


Ignore:
Timestamp:
May 25, 2013, 1:53:15 AM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
626e5b0
Parents:
b07eeac
Message:

Objects that are picked up by players get removed from the map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/main.cpp

    rb07eeac r2df63d6  
    529529               break;
    530530            }
     531            case MSG_TYPE_REMOVE_OBJECT:
     532            {
     533               int id;
     534               memcpy(&id, msg.buffer, 4);
     535               if (!gameMap->removeObject(id))
     536                  cout << "Did not remove the object" << endl;
     537            }
    531538            default:
    532539            {
Note: See TracChangeset for help on using the changeset viewer.