summaryrefslogtreecommitdiff
path: root/src/console.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-03 12:01:41 +0000
committerrubidium <rubidium@openttd.org>2011-01-03 12:01:41 +0000
commitb25cf57542dbf294a9de3f7a9910e1e08e6ed7a4 (patch)
treeac208841735480e0c06b3da6da55b33a1bbdc7c7 /src/console.cpp
parent1c2d56d314d5be9d228b08ca6eea8d988f2a389f (diff)
downloadopenttd-b25cf57542dbf294a9de3f7a9910e1e08e6ed7a4.tar.xz
(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts
Diffstat (limited to 'src/console.cpp')
-rw-r--r--src/console.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console.cpp b/src/console.cpp
index c38608f91..5ffc4ed52 100644
--- a/src/console.cpp
+++ b/src/console.cpp
@@ -84,7 +84,7 @@ void IConsoleFree()
* @param colour_code the colour of the command. Red in case of errors, etc.
* @param string the message entered or output on the console (notice, error, etc.)
*/
-void IConsolePrint(ConsoleColour colour_code, const char *string)
+void IConsolePrint(TextColour colour_code, const char *string)
{
assert(IsValidConsoleColour(colour_code));
@@ -128,7 +128,7 @@ void IConsolePrint(ConsoleColour colour_code, const char *string)
* by any other means. Uses printf() style format, for more information look
* at IConsolePrint()
*/
-void CDECL IConsolePrintF(ConsoleColour colour_code, const char *format, ...)
+void CDECL IConsolePrintF(TextColour colour_code, const char *format, ...)
{
assert(IsValidConsoleColour(colour_code));