aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2019-11-18 20:27:37 +0300
committerCrystalwarrior <varsash@gmail.com>2019-11-18 20:27:37 +0300
commit34848c4eaf8df62719045889a55be4c9ac2419a8 (patch)
tree937f1fb0f8a68b335eddfdcbd3c8baf29fb5cca2 /src/courtroom.cpp
parent886ec26e2095bdcb18a05b57cb7c302be0d906c6 (diff)
Fix a bug where user would be unable to speak if the BG changed when someone else was speaking
Make it so blip sounds are accessed in base/sounds/blips/* if such a path exists
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index db48e512..1a1fd9ed 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -1028,7 +1028,14 @@ void Courtroom::set_background(QString p_background, bool display)
ui_vp_message->hide();
ui_vp_chatbox->hide();
+ //Stop the chat arrow from animating
+ ui_vp_chat_arrow->stop();
+
+ text_state = 0;
+ anim_state = 0;
+ ui_vp_objection->stop();
chat_tick_timer->stop();
+ ui_vp_evidence_display->reset();
set_scene(QString::number(ao_app->get_desk_mod(current_char, current_emote)), current_side);
}
}