forked from mirror/OpenTTD
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
This commit is contained in:
@@ -601,7 +601,7 @@ static const WindowDesc _player_stations_desc = {
|
||||
*/
|
||||
void ShowPlayerStations(PlayerID player)
|
||||
{
|
||||
if (!IsValidPlayer(player)) return;
|
||||
if (!IsValidPlayerID(player)) return;
|
||||
|
||||
AllocateWindowDescFront<PlayerStationsWindow>(&_player_stations_desc, player);
|
||||
}
|
||||
|
Reference in New Issue
Block a user