Fix screenshake button shunting character to origin (#215)

* Fix #193
By making sure handle_chatmessage_3 calls start_chat_ticking
and thus do_screenshake only after either play_idle or play_talking is called

* Move call to start_chat_ticking to the end of handle_chatmessage_3
This commit is contained in:
windrammer 2020-07-29 11:15:30 -06:00 committed by GitHub
parent 2935d24a07
commit a640def157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2154,8 +2154,6 @@ void Courtroom::play_char_sfx(QString sfx_name)
void Courtroom::handle_chatmessage_3()
{
start_chat_ticking();
int f_evi_id = m_chatmessage[EVIDENCE_ID].toInt();
QString f_side = m_chatmessage[SIDE];
@ -2235,6 +2233,8 @@ void Courtroom::handle_chatmessage_3()
break;
}
}
start_chat_ticking();
}
QString Courtroom::filter_ic_text(QString p_text, bool html, int target_pos,