From 87e359487d7e7d75cb696736f2a5da21d9648898 Mon Sep 17 00:00:00 2001 From: sD Date: Fri, 21 Feb 2020 17:57:46 +0100 Subject: [PATCH] combine these conditions --- src/courtroom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/courtroom.cpp b/src/courtroom.cpp index e62f6c6..64c288c 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -2374,7 +2374,7 @@ void Courtroom::chat_tick() f_message.remove(0,2); } - if (f_message.size() == 0) + if (f_message.size() == 0 || tick_pos >= f_message.size()) { text_state = 2; if (anim_state != 4)