Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9528 in orxonox.OLD for branches/proxy/src/lib


Ignore:
Timestamp:
Jul 27, 2006, 9:30:14 PM (18 years ago)
Author:
patrick
Message:

big error in the recvType checking, now forwarding should be less erratic :D

File:
1 edited

Legend:

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

    r9527 r9528  
    245245
    246246      // find out if this message is addressed for this client too
    247       if( messageType == RT_ALL_BUT_ME ||
    248           messageType == RT_ALL_ME ||
    249           messageType == RT_NOT_USER && SharedNetworkData::getInstance()->getHostID() != destinationId ||
    250           messageType == RT_USER  && SharedNetworkData::getInstance()->getHostID() == destinationId ||
    251           messageType == RT_SERVER && SharedNetworkData::getInstance()->isMasterServer())
     247      if( recieverType == RT_ALL_BUT_ME  && SharedNetworkData::getInstance()->getHostID() != destinationId ||
     248          recieverType == RT_ALL_ME ||
     249          recieverType == RT_NOT_USER && SharedNetworkData::getInstance()->getHostID() != destinationId ||
     250          recieverType == RT_USER  && SharedNetworkData::getInstance()->getHostID() == destinationId ||
     251          recieverType == RT_SERVER && SharedNetworkData::getInstance()->isMasterServer())
    252252      {
    253253
Note: See TracChangeset for help on using the changeset viewer.