Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2010, 9:41:57 PM (13 years ago)
Author:
scheusso
Message:

some fixes
reactivating acking and gamestate diffing

File:
1 edited

Legend:

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

    r7777 r7780  
    179179  assert(ClientInformation::findClient(&peer->address)->getID() != static_cast<unsigned int>(-2) || !Host::isServer());
    180180  unsigned int peerID = ClientInformation::findClient(&peer->address)->getID();
     181  // HACK
     182  if( peerID==static_cast<unsigned int>(-2))
     183    peerID = NETWORK_PEER_ID_SERVER;
    181184  Packet *p = 0;
    182185//   COUT(6) << "packet type: " << *(Type::Value *)&data[_PACKETID] << std::endl;
Note: See TracChangeset for help on using the changeset viewer.