| 244 | } |
| 245 | |
| 246 | Money Ship::GetRunningCost() const |
| 247 | { |
| 248 | const Engine *e = this->GetEngine(); |
| 249 | uint cost_factor = GetVehicleProperty(this, PROP_SHIP_RUNNING_COST_FACTOR, e->VehInfo<ShipVehicleInfo>().running_cost); |
| 250 | return GetPrice(PR_RUNNING_SHIP, cost_factor, e->GetGRF()); |
| 251 | } |
| 252 | |
| 253 | /** Calendar day handler. */ |
| 254 | void Ship::OnNewCalendarDay() |
no test coverage detected