From 079c45e298e4198b9c6828603a3e9a71b07a08a7 Mon Sep 17 00:00:00 2001 From: in1tiate <32779090+in1tiate@users.noreply.github.com> Date: Sat, 9 Jan 2021 09:09:18 -0600 Subject: Define IC Log colors independent of character, define message colors according to character (#323) * IC Log colors now defined independent of character * Fix regression causing incorrect colors in the viewport * fix goof that broke chat scrolling * Only regenerate color vector when it's needed --- src/text_file_functions.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/text_file_functions.cpp') diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index 8247fd86..00eaa009 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -636,6 +636,8 @@ QString AOApplication::get_gender(QString p_char) QString AOApplication::get_chat(QString p_char) { + if (p_char == "default") + return "default"; QString f_result = read_char_ini(p_char, "chat", "Options"); // handling the correct order of chat is a bit complicated, we let the caller -- cgit