Changeset 9500 in orxonox.OLD for branches/proxy/src/util
- Timestamp:
- Jul 27, 2006, 12:15:06 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/util/multiplayer_team_deathmatch.cc
r9498 r9500 489 489 490 490 491 ClassID playableClassId = getPlayableClassId( userId, stats.getPreferedTeamId() );491 ClassID playableClassId = getPlayableClassId( userId, stats.getPreferedTeamId() ); 492 492 std::string playableModel = getPlayableModelFileName( userId, stats.getPreferedTeamId(), playableClassId ); 493 493 std::string playableTexture = getPlayableModelTextureFileName( userId, stats.getPreferedTeamId(), playableClassId ); … … 503 503 playable.loadMD2Texture( playableTexture ); 504 504 playable.loadModel( playableModel, playableScale ); 505 playable.setTeam(stats.getPreferedTeamId()); 505 506 playable.setOwner( userId ); 506 507 playable.setUniqueID( SharedNetworkData::getInstance()->getNewUniqueID() ); 507 508 playable.setSynchronized( true ); 508 509 playable.setTeam(stats.getPreferedTeamId());510 509 511 510 stats.setTeamId( stats.getPreferedTeamId() );
Note: See TracChangeset
for help on using the changeset viewer.