Changeset 914 for code/branches/network
- Timestamp:
- Mar 20, 2008, 4:37:06 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/PacketDecoder.cc
r913 r914 155 155 //memcpy( (void*)&(currentState->id), (const void*)(data+sizeof( int )), sizeof( int ) ); 156 156 currentState->id = *((int *)packet->data+sizeof(int)); 157 memcpy( (void*)&(currentState->id), (const void*)(packet->data+1*sizeof( int )), sizeof( int) ); 157 158 COUT(5) << "decoder: received gs id: " << currentState->id << std::endl; 158 159 // std::cout << "id: " << currentState->id << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.