Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9401 in orxonox.OLD for branches


Ignore:
Timestamp:
Jul 24, 2006, 8:55:53 AM (18 years ago)
Author:
patrick
Message:

it was somehow easier than i thought :D problem solved…

File:
1 edited

Legend:

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

    r9400 r9401  
    720720      // server fakes uniqueid == 0 for handshake
    721721      if ( ( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServer() ) &&
    722              sync.getUniqueID() < SharedNetworkData::getInstance()->getMaxPlayer() - 1 )
     722             sync.getUniqueID() < SharedNetworkData::getInstance()->getMaxPlayer() + 1 )
    723723        n = Converter::intToByteArray( 0, buf + offset, UDP_PACKET_SIZE - offset );
    724724      else
    725725        n = Converter::intToByteArray( sync.getUniqueID(), buf + offset, UDP_PACKET_SIZE - offset );
    726726
    727       PRINTF(0)("unique id: %i\n", sync.getUniqueID());
    728727
    729728      assert( n == INTSIZE );
Note: See TracChangeset for help on using the changeset viewer.