diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2021-01-09 09:09:18 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-09 18:09:18 +0300 |
| commit | 079c45e298e4198b9c6828603a3e9a71b07a08a7 (patch) | |
| tree | 7224ab4d441fbe4ad1c8837b8dd0d347c6fc1fae /src/text_file_functions.cpp | |
| parent | b36263934cc3d1ed911235df27744fc591be6a70 (diff) | |
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
Diffstat (limited to 'src/text_file_functions.cpp')
| -rw-r--r-- | src/text_file_functions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
