Changeset 1284 for code/branches/merge/src/network
- Timestamp:
- May 15, 2008, 2:55:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merge/src/network/Client.cc
r1264 r1284 234 234 if(gs){ 235 235 COUT(4) << "client tick: sending gs " << gs << std::endl; 236 if(client_connection.addPacket(pck_gen.gstate(gs))) 236 ENetPacket *packet = pck_gen.gstate(gs); 237 if( packet == NULL || !client_connection.addPacket(packet)) 237 238 COUT(3) << "Problem adding partial gamestate to queue" << std::endl; 238 239 // now delete it to save memory
Note: See TracChangeset
for help on using the changeset viewer.