aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcents02 <46689260+cents02@users.noreply.github.com>2020-03-27 21:11:33 +0200
committerGitHub <noreply@github.com>2020-03-27 21:11:33 +0200
commit558fa55be824a106fde14b06cd98160e260c8962 (patch)
tree11241bf1f50111e54585209a4e81c0e91bca6905 /src
parentede1236b704a08b4abf1aa8e16eb0384f33b1fe5 (diff)
Made the shake button useful.
Apparently nobody tested it before.
Diffstat (limited to 'src')
-rw-r--r--src/courtroom.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 8592d4fd..e3e84504 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;