Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8827 in orxonox.OLD for branches/multi_player_map/src/lib/network


Ignore:
Timestamp:
Jun 27, 2006, 2:46:40 PM (18 years ago)
Author:
rennerc
Message:

SpawningPoint works now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/multi_player_map/src/lib/network/network_game_manager.cc

    r8708 r8827  
    3939
    4040#include "network_game_manager.h"
     41
     42#include "multiplayer_team_deathmatch.h"
    4143
    4244
     
    118120  stats->setPlayableUniqueId( playable.getUniqueID() );
    119121  stats->setModelFileName( playableModel );
     122 
     123  if ( rules.isA( CL_MULTIPLAYER_TEAM_DEATHMATCH ) )
     124    dynamic_cast<MultiplayerTeamDeathmatch*>(&rules)->respawnPlayable( &playable, team, 0.0f );
    120125 
    121126  return true;
Note: See TracChangeset for help on using the changeset viewer.