Changeset 9470 in orxonox.OLD for branches/proxy/src/util
- Timestamp:
- Jul 25, 2006, 10:23:17 PM (19 years ago)
- Location:
- branches/proxy/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/util/game_rules.cc
r9406 r9470 87 87 void GameRules::registerKill(const Kill& kill) 88 88 { 89 if ( SharedNetworkData::getInstance()->isClient() )89 if ( SharedNetworkData::getInstance()->isClient() || SharedNetworkData::getInstance()->isProxyServerActive()) 90 90 return; 91 91 -
branches/proxy/src/util/multiplayer_team_deathmatch.cc
r9455 r9470 152 152 box->setAbsCoor2D( 300, 100 ); 153 153 154 if( SharedNetworkData::getInstance()->isClient() )154 if( SharedNetworkData::getInstance()->isClient() || SharedNetworkData::getInstance()->isProxyServerActive()) 155 155 { 156 156 OrxGui::GLGuiPushButton * buttonSpectator = new OrxGui::GLGuiPushButton("Spectator"); … … 214 214 assignPlayable(); 215 215 216 if ( SharedNetworkData::getInstance()->isClient() )216 if ( SharedNetworkData::getInstance()->isClient() || SharedNetworkData::getInstance()->isProxyServerActive()) 217 217 return; 218 218 … … 278 278 void MultiplayerTeamDeathmatch::checkGameRules() 279 279 { 280 if ( SharedNetworkData::getInstance()->isClient() )280 if ( SharedNetworkData::getInstance()->isClient() || SharedNetworkData::getInstance()->isProxyServerActive()) 281 281 return; 282 282
Note: See TracChangeset
for help on using the changeset viewer.