diff options
| author | Crystalwarrior <Varsash@Gmail.com> | 2021-04-21 02:54:08 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-21 02:54:08 +0300 |
| commit | fb4a5e0656cf1ad023b761139f30ecf3a584f56e (patch) | |
| tree | 44483aaa4504daf955bb3728262efb061061b9c8 /include/courtroom.h | |
| parent | d0ef4831de8cf3e3645343d477fefb17da24d125 (diff) | |
Fix log_chatmessage referring to the global m_chatmessage instead of the local variables that should be sent to it at the point of the func being called. (#530)
Diffstat (limited to 'include/courtroom.h')
| -rw-r--r-- | include/courtroom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/courtroom.h b/include/courtroom.h index 7e31b731..9da465ab 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -235,7 +235,7 @@ public: DISPLAY_AND_IO }; // Log the message contents and information such as evidence presenting etc. into the log file, the IC log, or both. - void log_chatmessage(QString f_message, int f_char_id, QString f_showname = "", int f_color = 0, LogMode f_log_mode=IO_ONLY); + void log_chatmessage(QString f_message, int f_char_id, QString f_showname = "", QString f_char = "", QString f_objection_mod = "", int f_evi_id = 0, int f_color = 0, LogMode f_log_mode=IO_ONLY); // Log the message contents and information such as evidence presenting etc. into the IC logs void handle_callwords(); |
