File diff r4849:41dc3967353a → r4850:7a78073de588
player.h
Show inline comments
 
@@ -242,12 +242,17 @@ static inline Player* GetPlayer(PlayerID
 

	
 
static inline bool IsLocalPlayer(void)
 
{
 
	return _local_player == _current_player;
 
}
 

	
 
static inline bool IsValidPlayer(PlayerID pi)
 
{
 
	return pi < MAX_PLAYERS;
 
}
 

	
 
void DeletePlayerWindows(PlayerID pi);
 
byte GetPlayerRailtypes(PlayerID p);
 

	
 
/** Finds out if a Player has a certain railtype available */
 
static inline bool HasRailtypeAvail(const Player *p, RailType Railtype)
 
{