Changeset 8459 in orxonox.OLD for branches/network
- Timestamp:
- Jun 15, 2006, 2:08:04 PM (18 years ago)
- Location:
- branches/network/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_game_manager.cc
r8306 r8459 100 100 Playable & playable = *(dynamic_cast<Playable*>(bo)); 101 101 102 playable.loadModel( playableModel ); 102 if ( playableModel != "" ) 103 playable.loadModel( playableModel ); 103 104 playable.setOwner( userId ); 104 105 playable.setUniqueID( SharedNetworkData::getInstance()->getNewUniqueID() ); -
branches/network/src/util/multiplayer_team_deathmatch.cc
r8331 r8459 305 305 return CL_SPECTATOR; 306 306 307 if ( team == 0 || team == 1)307 if ( team == 0 ) 308 308 return CL_SPACE_SHIP; 309 310 if ( team == 1) 311 return CL_TURBINE_HOVER; 309 312 310 313 assert( false ); … … 315 318 if ( team == 0 ) 316 319 return "models/ships/reap_#.obj"; 317 else if ( team == 1 )318 return "models/ships/fighter.obj";320 // else if ( team == 1 ) 321 // return "models/ships/fighter.obj"; 319 322 else 320 323 return "";
Note: See TracChangeset
for help on using the changeset viewer.