Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2010, 4:12:21 PM (14 years ago)
Author:
scheusso
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network4/src/libraries/network/synchronisable/Synchronisable.cc

    r7754 r7755  
    222222   * length of varx: size saved int syncvarlist
    223223   * @param mem pointer to allocated memory with enough size
    224    * @param sizes FIXME - add doc!
     224   * @param sizes vector containing sizes of all objects in gamestate (to be appended)
    225225   * @param id gamestateid of the gamestate to be saved (important for priorities)
    226226   * @param mode defines the direction in which the data will be send/received
    227227   *             0x1: server->client
    228    *             0x2: client->server (not recommended)
     228   *             0x2: client->server
    229229   *             0x3: bidirectional
    230230   * @return true: if !doSync or if everything was successfully saved
     
    270270      //tempsize += (*i)->getSize( mode );
    271271    }
     272    assert(tempsize!=0);  // if this happens an empty object (with no variables) would be transmitted
    272273//     COUT(4) << endl;
    273274
Note: See TracChangeset for help on using the changeset viewer.