Changeset 9926 in orxonox.OLD for branches/network/src/util
- Timestamp:
- Nov 9, 2006, 7:41:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/util/multiplayer_team_deathmatch.cc
r9925 r9926 46 46 #include "spawning_point.h" 47 47 48 49 50 48 #include "creatures/fps_player.h" 51 49 52 50 ObjectListDefinition(MultiplayerTeamDeathmatch); … … 305 303 std::string MultiplayerTeamDeathmatch::getPlayableModelFileName( int userId, int team, const ClassID& classId ) 306 304 { 307 if (classId == CL_TURBINE_HOVER)308 {309 assert(false);310 return "models/ships/hoverglider_mainbody.obj";311 }312 305 if ( team == 0 ) 313 306 return "models/creatures/doom_guy.md2"; … … 335 328 float MultiplayerTeamDeathmatch::getPlayableScale( int userId, int team, const ClassID& classId ) 336 329 { 337 if ( classId == ObjectListBase::retrieveIdentity(CL_FPS_PLAYER))330 if ( classId == FPSPlayer::staticClassID() ) 338 331 { 339 332 return 10.0f;
Note: See TracChangeset
for help on using the changeset viewer.