Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

another dead bug

File:
1 edited

Legend:

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

    r914 r915  
    154154    //copy the GameStateCompressed id into the struct, which is located at second place data+sizeof( int )
    155155    //memcpy( (void*)&(currentState->id), (const void*)(data+sizeof( int )), sizeof( int ) );
    156     currentState->id = *((int *)packet->data+sizeof(int));
     156    //currentState->id = *((int *)packet->data+sizeof(int));
    157157    memcpy( (void*)&(currentState->id), (const void*)(packet->data+1*sizeof( int )), sizeof( int) );
    158158    COUT(5) << "decoder: received gs id: " << currentState->id << std::endl;
Note: See TracChangeset for help on using the changeset viewer.