(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
This commit is contained in:
@@ -1750,7 +1750,7 @@ bool CanBuildVehicleInfrastructure(VehicleType type)
|
||||
{
|
||||
assert(IsPlayerBuildableVehicleType(type));
|
||||
|
||||
if (!IsValidPlayer(_current_player)) return false;
|
||||
if (!IsValidPlayerID(_current_player)) return false;
|
||||
if (_settings_client.gui.always_build_infrastructure) return true;
|
||||
|
||||
UnitID max;
|
||||
|
Reference in New Issue
Block a user