(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts

This commit is contained in:
rubidium
2011-01-03 12:01:41 +00:00
parent 1c2d56d314
commit b25cf57542
13 changed files with 33 additions and 33 deletions

View File

@@ -489,8 +489,8 @@ static void IConsoleHistoryNavigate(int direction)
* @param colour_code the colour of the command. Red in case of errors, etc.
* @param str the message entered or output on the console (notice, error, etc.)
*/
void IConsoleGUIPrint(ConsoleColour colour_code, char *str)
void IConsoleGUIPrint(TextColour colour_code, char *str)
{
new IConsoleLine(str, (TextColour)colour_code);
new IConsoleLine(str, colour_code);
SetWindowDirty(WC_CONSOLE, 0);
}