diff options
| author | iamgoofball <iamgoofball@gmail.com> | 2019-01-21 15:45:51 -0800 |
|---|---|---|
| committer | iamgoofball <iamgoofball@gmail.com> | 2019-01-21 15:45:51 -0800 |
| commit | a7a614482e379ad13f8e0ca1e7f3e31c33bb1c21 (patch) | |
| tree | f3c938a31e9697183ab5fd0c43567f4a1c6a331a /src/courtroom.cpp | |
| parent | debd386a7176327d481470621a7a3a65cd715f2e (diff) | |
final commit
Diffstat (limited to 'src/courtroom.cpp')
| -rw-r--r-- | src/courtroom.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index a097444f..537558ff 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -1752,6 +1752,8 @@ void Courtroom::handle_chatmessage_2() void Courtroom::doScreenShake() { + if(!ao_app->is_shakeandflash_enabled()) + return; screenshake_group = new QParallelAnimationGroup; screenshake_animation = new QPropertyAnimation(ui_viewport, "pos", this); chatbox_screenshake_animation = new QPropertyAnimation(ui_vp_chatbox, "pos", this); @@ -2197,6 +2199,8 @@ void Courtroom::realization_done() void Courtroom::doRealization() { + if(!ao_app->is_shakeandflash_enabled()) + return; realization_timer->start(60); ui_vp_realization->show(); |
