Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8827


Ignore:
Timestamp:
Aug 6, 2011, 3:42:38 PM (13 years ago)
Author:
landauf
Message:

small fix in Host::isServer in agreement with Oli

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/network/Host.cc

    r8822 r8827  
    144144    for (std::vector<Host*>::iterator it=instances_s.begin(); it!=instances_s.end(); ++it )
    145145    {
    146       if( (*it)->isServer_() )
    147         return true;
     146      if( (*it)->isActive() )
     147      {
     148        if( (*it)->isServer_() )
     149          return true;
     150      }
    148151    }
    149152    return false;
Note: See TracChangeset for help on using the changeset viewer.