(svn r24996) -Change: Apply default service interval changes to vehicles without custom interval (peter1138)

This commit is contained in:
rubidium
2013-02-14 17:08:56 +00:00
parent 369a6f9d1b
commit ef8d491d8f
4 changed files with 75 additions and 6 deletions

View File

@@ -15,6 +15,7 @@
#include "command_type.h"
#include "company_type.h"
#include "gfx_type.h"
#include "vehicle_type.h"
bool MayCompanyTakeOver(CompanyID cbig, CompanyID small);
void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner);
@@ -56,4 +57,6 @@ static inline bool IsInteractiveCompany(CompanyID company)
return company == _local_company;
}
int CompanyServiceInterval(const Company *c, VehicleType type);
#endif /* COMPANY_FUNC_H */