Changeset 9068 in orxonox.OLD for branches/presentation/src/lib
- Timestamp:
- Jul 3, 2006, 8:55:53 PM (19 years ago)
- Location:
- branches/presentation/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/lib/network/network_game_manager.cc
r9059 r9068 98 98 ClassID playableClassId = rules.getPlayableClassId( userId, team ); 99 99 std::string playableModel = rules.getPlayableModelFileName( userId, team, playableClassId ); 100 std::string playableTexture = rules.getPlayableModelFileName( userId, team, playableClassId ); 100 101 101 102 BaseObject * bo = Factory::fabricate( playableClassId ); … … 106 107 Playable & playable = *(dynamic_cast<Playable*>(bo)); 107 108 108 if ( playableModel != "" ) 109 if ( playableTexture != "" ) 110 playable.loadMD2Texture( playableTexture ); 111 if ( playableModel != "" ) 109 112 playable.loadModel( playableModel ); 110 113 playable.setOwner( userId ); -
branches/presentation/src/lib/network/shared_network_data.cc
r6822 r9068 44 44 */ 45 45 SharedNetworkData::~SharedNetworkData() 46 {} 46 { 47 SharedNetworkData::singletonRef = NULL; 48 } -
branches/presentation/src/lib/util/loading/game_loader.cc
r8717 r9068 57 57 delete this->currentCampaign; 58 58 this->currentCampaign = NULL; 59 60 GameLoader::singletonRef = NULL; 59 61 } 60 62
Note: See TracChangeset
for help on using the changeset viewer.