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:
@@ -145,7 +145,7 @@ static const WindowDesc _air_toolbar_desc = {
|
||||
|
||||
void ShowBuildAirToolbar()
|
||||
{
|
||||
if (!IsValidPlayer(_current_player)) return;
|
||||
if (!IsValidPlayerID(_current_player)) return;
|
||||
|
||||
DeleteWindowByClass(WC_BUILD_TOOLBAR);
|
||||
AllocateWindowDescFront<BuildAirToolbarWindow>(&_air_toolbar_desc, TRANSPORT_AIR);
|
||||
|
Reference in New Issue
Block a user