Changeset 1294 for code/branches/merge/src/network
- Timestamp:
- May 15, 2008, 5:47:22 PM (17 years ago)
- Location:
- code/branches/merge/src/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merge/src/network/GameStateManager.cc
r1282 r1294 427 427 void GameStateManager::ackGameState(int clientID, int gamestateID) { 428 428 ClientInformation *temp = head_->findClient(clientID); 429 if(!temp) 430 return; 429 431 int curid = temp->getGamestateID(); 430 432 COUT(4) << "acking gamestate " << gamestateID << " for clientid: " << clientID << " curid: " << curid << std::endl; -
code/branches/merge/src/network/PacketGenerator.cc
r1264 r1294 64 64 ENetPacket* command( int dataLength, void *data, int reliable = ENET_PACKET_FLAG_RELIABLE ) 65 65 { 66 void *stream = newchar[dataLength + 2*sizeof(int)];66 unsigned char *stream = new unsigned char[dataLength + 2*sizeof(int)]; 67 67 if(!stream) 68 68 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.