Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 24, 2006, 10:05:52 AM (18 years ago)
Author:
patrick
Message:

yet another strang bug occured. flush

File:
1 edited

Legend:

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

    r9402 r9404  
    720720      // server fakes uniqueid == 0 for handshake
    721721      if ( ( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServer() ) &&
    722              sync.getUniqueID() <= SharedNetworkData::getInstance()->getMaxPlayer())
     722             sync.getUniqueID() <= SharedNetworkData::getInstance()->getMaxPlayer() + 1) // plus one to handle one client more than the max to redirect it
    723723        n = Converter::intToByteArray( 0, buf + offset, UDP_PACKET_SIZE - offset );
    724724      else
Note: See TracChangeset for help on using the changeset viewer.