Add missing check for anim_state 5 (#601)

This commit is contained in:
Rosemary Witchaven 2021-10-09 10:29:15 -05:00 committed by GitHub
parent c163aab671
commit 273ae64535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()) {