Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 18, 2006, 4:29:59 PM (18 years ago)
Author:
patrick
Message:

player number model switched

File:
1 edited

Legend:

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

    r9303 r9327  
    1717#include "udp_server_socket.h"
    1818#include "peer_info.h"
     19
     20#include "shared_network_data.h"
    1921
    2022class Synchronizeable;
     
    5254    inline bool isClient() const { return (this->pInfo->nodeType == NET_CLIENT)? true:false; }
    5355//     inline bool isActive() const { return this->bActive; }
    54     inline int getMaxConnections(){ return NET_MAX_CONNECTIONS; }
     56    inline int getMaxConnections(){ return SharedNetworkData::getInstance()->getMaxPlayer(); }
    5557
    5658    /* functions for the peerInfo information retreival */
Note: See TracChangeset for help on using the changeset viewer.