Changeset 9565 in orxonox.OLD
- Timestamp:
- Jul 28, 2006, 2:19:52 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/util/multiplayer_team_deathmatch.cc
r9564 r9565 138 138 if ( currentGameState == GAMESTATE_PRE_GAME || currentGameState == GAMESTATE_GAME ) 139 139 { 140 if ( PlayerStats::getStats( SharedNetworkData::getInstance()->getHostID() > NET_UNASSIGNED ) && 140 if( !PlayerStats::getStats( SharedNetworkData::getInstance()->getHostID() )) 141 PRINTF(0)("got no stats\n"); 142 143 if ( PlayerStats::getStats( SharedNetworkData::getInstance()->getHostID() ) && 141 144 box == NULL && 142 145 (PlayerStats::getStats( SharedNetworkData::getInstance()->getHostID() )->getPreferedTeamId() == TEAM_NOTEAM || bShowTeamChange ) … … 798 801 799 802 803 /** 804 * respawns a playable in the world via spawning points 805 * @param playable the playable to respawn 806 * @param teamId the teamId to use 807 * @param delay time delay for delayed spawning 808 */ 800 809 void MultiplayerTeamDeathmatch::respawnPlayable( Playable * playable, int teamId, float delay ) 801 810 {
Note: See TracChangeset
for help on using the changeset viewer.