handle expanded desk mods on chat ticking start
This commit is contained in:
parent
579456fbd7
commit
6bbb45a6d1
@ -3284,6 +3284,22 @@ void Courtroom::preanim_done()
|
||||
if (anim_state != 1 && anim_state != 4)
|
||||
return;
|
||||
anim_state = 1;
|
||||
|
||||
handle_ic_speaking();
|
||||
}
|
||||
|
||||
void Courtroom::start_chat_ticking()
|
||||
{
|
||||
text_delay_timer->stop();
|
||||
// we need to ensure that the text isn't already ticking because this function
|
||||
// can be called by two logic paths
|
||||
if (text_state != 0)
|
||||
return;
|
||||
|
||||
// Display the evidence
|
||||
display_evidence_image();
|
||||
|
||||
// handle expanded desk mods
|
||||
switch(m_chatmessage[DESK_MOD].toInt()) {
|
||||
case 4:
|
||||
set_self_offset(m_chatmessage[SELF_OFFSET]);
|
||||
@ -3302,19 +3318,6 @@ void Courtroom::preanim_done()
|
||||
set_scene(m_chatmessage[DESK_MOD], m_chatmessage[SIDE]);
|
||||
break;
|
||||
}
|
||||
handle_ic_speaking();
|
||||
}
|
||||
|
||||
void Courtroom::start_chat_ticking()
|
||||
{
|
||||
text_delay_timer->stop();
|
||||
// we need to ensure that the text isn't already ticking because this function
|
||||
// can be called by two logic paths
|
||||
if (text_state != 0)
|
||||
return;
|
||||
|
||||
// Display the evidence
|
||||
display_evidence_image();
|
||||
|
||||
if (m_chatmessage[EFFECTS] != "") {
|
||||
QStringList fx_list = m_chatmessage[EFFECTS].split("|");
|
||||
|
Loading…
Reference in New Issue
Block a user