Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 19, 2008, 8:42:39 PM (16 years ago)
Author:
scheusso
Message:

-fixed a compiler error
-fixed a problem with multiple clients connected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/network/packet/Packet.cc

    r1940 r1952  
    135135Packet *Packet::createPacket(ENetPacket *packet, ENetPeer *peer){
    136136  uint8_t *data = packet->data;
     137  assert(ClientInformation::findClient(&peer->address)->getID()!=-2 || !Host::isServer());
    137138  unsigned int clientID = ClientInformation::findClient(&peer->address)->getID();
    138139  Packet *p;
Note: See TracChangeset for help on using the changeset viewer.