Commits

Torr_Samaho committed 277d690

renamed CLIENT_ResetPlayerData to PLAYER_ResetPlayerData

  • Participants
  • Parent commits b8b4915

Comments (0)

Files changed (3)

File src/cl_main.cpp

 		playeringame[ulIdx] = false;
 
 		// Zero out all the player information.
-		CLIENT_ResetPlayerData( &players[ulIdx] );
+		PLAYER_ResetPlayerData( &players[ulIdx] );
 	}
 }
 
 
 //*****************************************************************************
 //
-void CLIENT_ResetPlayerData( player_t *pPlayer )
+void PLAYER_ResetPlayerData( player_t *pPlayer )
 {
 	pPlayer->mo = NULL;
 	pPlayer->playerstate = 0;
 	playeringame[ulPlayer] = false;
 
 	// Zero out all the player information.
-	CLIENT_ResetPlayerData( &players[ulPlayer] );
+	PLAYER_ResetPlayerData( &players[ulPlayer] );
 
 	// Refresh the HUD because this affects the number of players in the game.
 	SCOREBOARD_RefreshHUD( );

File src/cl_main.h

 sector_t			*CLIENT_FindSectorByID( ULONG ulID );
 bool				CLIENT_IsParsingPacket( void );
 void				CLIENT_ResetConsolePlayerCamera( void );
-void				CLIENT_ResetPlayerData( player_t *pPlayer );
 LONG				CLIENT_AdjustDoorDirection( LONG lDirection );
 LONG				CLIENT_AdjustFloorDirection( LONG lDirection );
 LONG				CLIENT_AdjustCeilingDirection( LONG lDirection );

File src/d_player.h

 void	PLAYER_ResetAllPlayersFragcount( void );
 void	PLAYER_ResetAllPlayersSpecialCounters( void );
 void	PLAYER_ResetSpecialCounters ( player_t *pPlayer );
+void	PLAYER_ResetPlayerData( player_t *pPlayer );
 void	PLAYER_GivePossessionPoint( player_t *pPlayer );
 void	PLAYER_SetTeam( player_t *pPlayer, ULONG ulTeam, bool bNoBroadcast );
 void	PLAYER_SetSpectator( player_t *pPlayer, bool bBroadcast, bool bDeadSpectator );