Changeset b07eeac in network-game for common/Message.cpp


Ignore:
Timestamp:
May 25, 2013, 1:45:54 AM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
2df63d6
Parents:
b81cea1
Message:

Players pick up flags when they get close to the flag objects, not the structres. When a flag is picked up, a REMOVE_OBJECT message is sent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Message.cpp

    rb81cea1 rb07eeac  
    1919   int ret =  sendto(sock, (char*)msg, sizeof(NETWORK_MSG), 0, (struct sockaddr *)dest, sizeof(struct sockaddr_in));
    2020
     21   cout << "Send a message of type " << msg->type << endl;
     22
    2123   return ret;
    2224}
Note: See TracChangeset for help on using the changeset viewer.