Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 23, 2010, 4:38:41 PM (14 years ago)
Author:
scheusso
Message:

changed synchronisation of worldsound state (1 instead of 4 bytes)
fix in Synchronisable::unregisterVariable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network2/src/orxonox/sound/WorldSound.cc

    r6417 r6457  
    5858        registerVariable(bLooping_, ObjectDirection::ToClient, new NetworkCallback<WorldSound>(this, &WorldSound::loopingChanged));
    5959        registerVariable(pitch_,    ObjectDirection::ToClient, new NetworkCallback<WorldSound>(this, &WorldSound::pitchChanged));
    60         registerVariable((int&)(BaseSound::state_), ObjectDirection::ToClient, new NetworkCallback<WorldSound>(this, &WorldSound::stateChanged));
     60        registerVariable((uint8_t&)(BaseSound::state_), ObjectDirection::ToClient, new NetworkCallback<WorldSound>(this, &WorldSound::stateChanged));
    6161    }
    6262
Note: See TracChangeset for help on using the changeset viewer.