Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 23, 2006, 3:15:07 PM (18 years ago)
Author:
patrick
Message:

network: the Synchronizeables now all get connected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/synchronizeable.cc

    r6658 r6659  
    4343
    4444  this->bSynchronize = false;
    45   NetworkStream* nd;
    46   if( this->isA(CL_NETWORK_GAME_MANAGER))
    47   {
    48     nd = NetworkGameManager::getInstance()->getNetworkStream();
    49     assert(nd != NULL);
    50     nd->connectSynchronizeable(*this);
    51   }
     45  NetworkStream* nd = NetworkManager::getInstance()->getDefaultSyncStream();
     46  assert(nd != NULL);
     47  nd->connectSynchronizeable(*this);
    5248}
    5349
Note: See TracChangeset for help on using the changeset viewer.