From de27205e6c8aec594f7ae3b8205e8a1d60c24751 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 15 Oct 2011 20:42:32 +0000 Subject: (svn r23031) -Fix [FS#4804]: for the admin "bots" there was no distinction between bankruptcy and manual removal of companies even though the API suggested that --- src/company_type.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/company_type.h') diff --git a/src/company_type.h b/src/company_type.h index aa73abe63..249cce7d1 100644 --- a/src/company_type.h +++ b/src/company_type.h @@ -54,4 +54,13 @@ typedef uint16 CompanyMask; struct Company; typedef uint32 CompanyManagerFace; ///< Company manager face bits, info see in company_manager_face.h +/** The reason why the company was removed. */ +enum CompanyRemoveReason { + CRR_MANUAL, ///< The company is manually removed. + CRR_AUTOCLEAN, ///< The company is removed due to autoclean. + CRR_BANKRUPT, ///< The company went belly-up. + + CRR_END ///< Sentinel for end. +}; + #endif /* COMPANY_TYPE_H */ -- cgit v1.2.3-54-g00ecf