aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosemary Witchaven <32779090+in1tiate@users.noreply.github.com>2021-10-09 10:29:15 -0500
committerGitHub <noreply@github.com>2021-10-09 10:29:15 -0500
commit273ae6453503627165af6dcc4393c07fcfb440c3 (patch)
tree7fa7e3b7677214e8a8f1dc535770f1cbb447864d
parentc163aab671b9590910039a7031ed4f02ff989ed8 (diff)
Add missing check for anim_state 5 (#601)
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 12b97e5a..fc2e2f98 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -3286,7 +3286,7 @@ void Courtroom::play_preanim(bool immediate)
void Courtroom::preanim_done()
{
// Currently, someone's talking over us mid-preanim...
- if (anim_state != 1 && anim_state != 4)
+ if (anim_state != 1 && anim_state != 4 && anim_state != 5)
return;
anim_state = 1;
switch(m_chatmessage[DESK_MOD].toInt()) {