Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 23, 2009, 8:19:58 PM (14 years ago)
Author:
scheusso
Message:

synchronisation of pointers to classes that inherit from Synchronisable are now possible
just use the normal registerVariable syntax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/network/synchronisable/SynchronisableVariable.h

    r5781 r6123  
    3535#include <cassert>
    3636#include <cstring>
    37 #include "util/Serialise.h"
     37#include "Serialise.h"
    3838#include "util/TypeTraits.h"
    3939#include "core/GameMode.h"
     
    143143    if ( this->callback_ != 0 )
    144144    {
    145       if( forceCallback || !checkEquality( this->variable_, mem ) )
    146         callback = true;
     145      callback = forceCallback || !checkEquality( this->variable_, mem );
    147146    }
    148147  // write the data
Note: See TracChangeset for help on using the changeset viewer.