From 558fa55be824a106fde14b06cd98160e260c8962 Mon Sep 17 00:00:00 2001 From: cents02 <46689260+cents02@users.noreply.github.com> Date: Fri, 27 Mar 2020 21:11:33 +0200 Subject: [PATCH] Made the shake button useful. Apparently nobody tested it before. --- src/courtroom.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 8592d4f..e3e8450 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -2414,6 +2414,10 @@ void Courtroom::start_chat_ticking() this->doRealization(); misc_sfx_player->play(ao_app->get_custom_realization(m_chatmessage[CHAR_NAME])); } + if (m_chatmessage[SCREENSHAKE] == "1") + { + this->doScreenShake(); + } ui_vp_message->clear(); set_text_color(); rainbow_counter = 0;