Changeset 9068 in orxonox.OLD for branches/presentation/src/lib/network/network_game_manager.cc
- Timestamp:
- Jul 3, 2006, 8:55:53 PM (18 years ago)
- File:
-
- 1 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 );
Note: See TracChangeset
for help on using the changeset viewer.