Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9534 in orxonox.OLD for branches/proxy


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

forgot about the server clients host id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/network_stream.cc

    r9533 r9534  
    802802      if ( ( SharedNetworkData::getInstance()->isMasterServer() ||
    803803             SharedNetworkData::getInstance()->isProxyServerActive() &&  peer->second.isClient() ) &&
    804              sync.getUniqueID() >= 1000
     804             ( sync.getUniqueID() >= 1000 || sync.getUniqueID() <= SharedNetworkData::getInstance()->getMaxPlayer() + 1)
    805805             /*<= SharedNetworkData::getInstance()->getMaxPlayer() + 1*/) // plus one to handle one client more than the max to redirect it
    806806        n = Converter::intToByteArray( 0, buf + offset, UDP_PACKET_SIZE - offset );
Note: See TracChangeset for help on using the changeset viewer.