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:
parent
2935d24a07
commit
a640def157
@ -2154,8 +2154,6 @@ void Courtroom::play_char_sfx(QString sfx_name)
|
|||||||
|
|
||||||
void Courtroom::handle_chatmessage_3()
|
void Courtroom::handle_chatmessage_3()
|
||||||
{
|
{
|
||||||
start_chat_ticking();
|
|
||||||
|
|
||||||
int f_evi_id = m_chatmessage[EVIDENCE_ID].toInt();
|
int f_evi_id = m_chatmessage[EVIDENCE_ID].toInt();
|
||||||
QString f_side = m_chatmessage[SIDE];
|
QString f_side = m_chatmessage[SIDE];
|
||||||
|
|
||||||
@ -2235,6 +2233,8 @@ void Courtroom::handle_chatmessage_3()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_chat_ticking();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString Courtroom::filter_ic_text(QString p_text, bool html, int target_pos,
|
QString Courtroom::filter_ic_text(QString p_text, bool html, int target_pos,
|
||||||
|
Loading…
Reference in New Issue
Block a user