diff options
author | rubidium <rubidium@openttd.org> | 2011-01-03 20:54:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-01-03 20:54:20 +0000 |
commit | 80591d73c1d0827f1f20685ae7c93172a7fea217 (patch) | |
tree | 3f4c2ca5afcad2534afeb73da95a9e4ffb4f28d0 /src/console_type.h | |
parent | b68d37f2aa6479d9988aca2fe53af09701b7cd58 (diff) | |
download | openttd-80591d73c1d0827f1f20685ae7c93172a7fea217.tar.xz |
(svn r21707) -Fix [FS#4371]: bit too strict assertion on validness of console colours
Diffstat (limited to 'src/console_type.h')
-rw-r--r-- | src/console_type.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/console_type.h b/src/console_type.h index 2a99a7038..b62d5d9c4 100644 --- a/src/console_type.h +++ b/src/console_type.h @@ -30,10 +30,4 @@ static const TextColour CC_DEBUG = TC_LIGHT_BROWN; ///< Colour for debug outpu static const TextColour CC_COMMAND = TC_GOLD; ///< Colour for the console's commands. static const TextColour CC_WHITE = TC_WHITE; ///< White console lines for various things such as the welcome. -static inline bool IsValidConsoleColour(uint c) -{ - return c == CC_DEFAULT || c == CC_ERROR || c == CC_WARNING || c == CC_INFO || - c == CC_DEBUG || c == CC_COMMAND || c == CC_WHITE; -} - #endif /* CONSOLE_TYPE_H */ |