Changeset 7780 for code/branches/network5/src/libraries/network/packet
- Timestamp:
- Dec 19, 2010, 9:41:57 PM (15 years ago)
- Location:
- code/branches/network5/src/libraries/network/packet
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network5/src/libraries/network/packet/FunctionCalls.cc
r7777 r7780 71 71 FunctionCall fctCall; 72 72 fctCall.loadData(temp); 73 if( this->minGamestateID_ > host->getLastProcessedGamestateID(this->getPeerID()) ||!fctCall.execute() )73 if( !fctCall.execute() ) 74 74 { 75 75 FunctionCallManager::bufferIncomingFunctionCall( fctCall, minGamestateID_, this->getPeerID() ); -
code/branches/network5/src/libraries/network/packet/Packet.cc
r7777 r7780 179 179 assert(ClientInformation::findClient(&peer->address)->getID() != static_cast<unsigned int>(-2) || !Host::isServer()); 180 180 unsigned int peerID = ClientInformation::findClient(&peer->address)->getID(); 181 // HACK 182 if( peerID==static_cast<unsigned int>(-2)) 183 peerID = NETWORK_PEER_ID_SERVER; 181 184 Packet *p = 0; 182 185 // COUT(6) << "packet type: " << *(Type::Value *)&data[_PACKETID] << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.