Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 914 for code


Ignore:
Timestamp:
Mar 20, 2008, 4:37:06 PM (17 years ago)
Author:
scheusso
Message:

another dead bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/PacketDecoder.cc

    r913 r914  
    155155    //memcpy( (void*)&(currentState->id), (const void*)(data+sizeof( int )), sizeof( int ) );
    156156    currentState->id = *((int *)packet->data+sizeof(int));
     157    memcpy( (void*)&(currentState->id), (const void*)(packet->data+1*sizeof( int )), sizeof( int) );
    157158    COUT(5) << "decoder: received gs id: " << currentState->id << std::endl;
    158159//     std::cout << "id: " << currentState->id << std::endl;
Note: See TracChangeset for help on using the changeset viewer.