Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2006, 10:23:17 PM (18 years ago)
Author:
patrick
Message:

heavy permissions fight: no node was ever thought to be client and server at the same time, proxy server are hybrid nodes so there is need for a big framework extension.

  • made the obb creation saver
  • prevented segfaults in the aabb tree creation, this was very dangerous code
  • inserted handshake hack to make the handshake work.

No I will have to get the handshake right so the node works correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/util/multiplayer_team_deathmatch.cc

    r9455 r9470  
    152152      box->setAbsCoor2D( 300, 100 );
    153153
    154       if( SharedNetworkData::getInstance()->isClient())
     154      if( SharedNetworkData::getInstance()->isClient() ||  SharedNetworkData::getInstance()->isProxyServerActive())
    155155      {
    156156        OrxGui::GLGuiPushButton * buttonSpectator = new OrxGui::GLGuiPushButton("Spectator");
     
    214214  assignPlayable();
    215215
    216   if ( SharedNetworkData::getInstance()->isClient() )
     216  if ( SharedNetworkData::getInstance()->isClient() || SharedNetworkData::getInstance()->isProxyServerActive())
    217217    return;
    218218
     
    278278void MultiplayerTeamDeathmatch::checkGameRules()
    279279{
    280   if ( SharedNetworkData::getInstance()->isClient() )
     280  if ( SharedNetworkData::getInstance()->isClient() || SharedNetworkData::getInstance()->isProxyServerActive())
    281281    return;
    282282
Note: See TracChangeset for help on using the changeset viewer.