aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/courtroom.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index a082e6b8..636df5ab 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -1517,7 +1517,6 @@ void Courtroom::handle_chatmessage(QStringList *p_contents)
text_state = 0;
anim_state = 0;
ui_vp_objection->stop();
- ui_vp_player_char->stop();
chat_tick_timer->stop();
ui_vp_evidence_display->reset();
@@ -1564,16 +1563,19 @@ void Courtroom::handle_chatmessage(QStringList *p_contents)
case 1:
ui_vp_objection->play("holdit", f_char, f_custom_theme);
objection_player->play("holdit.wav", f_char, f_custom_theme);
+ this->doScreenShake();
break;
case 2:
ui_vp_objection->play("objection", f_char, f_custom_theme);
objection_player->play("objection.wav", f_char, f_custom_theme);
+ this->doScreenShake();
if(ao_app->get_objectmusic())
music_player->kill_loop();
break;
case 3:
ui_vp_objection->play("takethat", f_char, f_custom_theme);
objection_player->play("takethat.wav", f_char, f_custom_theme);
+ this->doScreenShake();
break;
//case 4 is AO2 only
case 4: