Changeset 9912 in orxonox.OLD for branches/network/src/util
- Timestamp:
 - Nov 2, 2006, 4:34:52 PM (19 years ago)
 - File:
 - 
          
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
branches/network/src/util/multiplayer_team_deathmatch.cc
r9911 r9912 306 306 { 307 307 if (classId == CL_TURBINE_HOVER) 308 { 309 assert(false); 308 310 return "models/ships/hoverglider_mainbody.obj"; 311 } 309 312 if ( team == 0 ) 310 313 return "models/creatures/doom_guy.md2"; … … 312 315 return "models/creatures/male.md2"; 313 316 else 317 { 314 318 return ""; 319 } 315 320 } 316 321 317 322 std::string MultiplayerTeamDeathmatch::getPlayableModelTextureFileName( int userId, int team, const ClassID& classId ) 318 323 { 319 if ( classId == CL_FPS_PLAYER)324 if ( team == 0 || team == 1 ) 320 325 { 321 326 if ( team == 0 ) 322 return " maps/doom_guy.png";327 return "doom_guy.png"; 323 328 else 324 return "ma ps/male_fiend.pcx";329 return "male_fiend.pcx"; 325 330 } 326 331 … … 493 498 Playable & playable = *(dynamic_cast<Playable*>(bo)); 494 499 500 PRINTF(0)("%s %s %f\n", playableModel.c_str(), playableTexture.c_str(), playableScale ); 501 495 502 playable.loadMD2Texture( playableTexture ); 496 503 playable.loadModel( playableModel, playableScale );  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






