1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 18:09:09 +00:00

(svn r12691) -Fix (r12459): all company related news displayed the 'company is in trouble' message

This commit is contained in:
glx
2008-04-13 17:59:43 +00:00
parent a5c456e75e
commit 668e218600

View File

@@ -66,12 +66,13 @@ enum NewsCallback {
/**
* Kinds of bankrupcy
* @note These flags are or'd with player index
*/
enum NewsBankrupcy {
NB_BTROUBLE, ///< Company is in trouble (warning)
NB_BMERGER, ///< Company has been bought by another company
NB_BBANKRUPT, ///< Company has gone bankrupt
NB_BNEWCOMPANY, ///< A new company has been started
NB_BTROUBLE = (1 << 4), ///< Company is in trouble (warning)
NB_BMERGER = (2 << 4), ///< Company has been bought by another company
NB_BBANKRUPT = (3 << 4), ///< Company has gone bankrupt
NB_BNEWCOMPANY = (4 << 4), ///< A new company has been started
};
struct NewsItem {