From 0eb9f18e9f9414ecae1561835e3027766ff6bcd9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 12 Jul 2019 20:13:45 +0200 Subject: [PATCH] - fixed: The countdown for the subtitles display was never counted down so the messages remained forever. --- src/p_user.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/p_user.cpp b/src/p_user.cpp index f369d91e6..0cb74335d 100644 --- a/src/p_user.cpp +++ b/src/p_user.cpp @@ -1227,6 +1227,11 @@ void P_PlayerThink (player_t *player) I_Error ("No player %td start\n", player - players + 1); } + if (player->SubtitleCounter > 0) + { + player->SubtitleCounter--; + } + // Bots do not think in freeze mode. if (player->mo->Level->isFrozen() && player->Bot != nullptr) {