(svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity().

This commit is contained in:
frosch
2011-11-09 16:38:50 +00:00
parent e4011426f2
commit 026317bb44
9 changed files with 74 additions and 73 deletions

View File

@@ -324,7 +324,7 @@ static CommandCost RefitVehicle(Vehicle *v, bool only_this, uint8 num_vehicles,
}
uint16 mail_capacity = 0;
uint amount = GetVehicleCapacity(v, &mail_capacity);
uint amount = e->DetermineCapacity(v, &mail_capacity);
total_capacity += amount;
/* mail_capacity will always be zero if the vehicle is not an aircraft. */
total_mail_capacity += mail_capacity;