Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 28, 2006, 2:04:40 PM (18 years ago)
Author:
patrick
Message:

nick name handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/util/multiplayer_team_deathmatch.cc

    r9504 r9564  
    138138  if ( currentGameState == GAMESTATE_PRE_GAME || currentGameState == GAMESTATE_GAME )
    139139  {
    140     if ( PlayerStats::getStats( SharedNetworkData::getInstance()->getHostID() )
    141          && box == NULL
    142          &&  (PlayerStats::getStats( SharedNetworkData::getInstance()->getHostID() )->getPreferedTeamId() == TEAM_NOTEAM
    143          || bShowTeamChange )
     140    if ( PlayerStats::getStats( SharedNetworkData::getInstance()->getHostID() > NET_UNASSIGNED ) &&
     141         box == NULL &&
     142         (PlayerStats::getStats( SharedNetworkData::getInstance()->getHostID() )->getPreferedTeamId() == TEAM_NOTEAM || bShowTeamChange )
    144143
    145144       )
Note: See TracChangeset for help on using the changeset viewer.