- fixed: The countdown for the subtitles display was never counted down so the messages remained forever.

This commit is contained in:
Christoph Oelckers 2019-07-12 20:13:45 +02:00
parent 89db16393e
commit 0eb9f18e9f

View file

@ -1227,6 +1227,11 @@ void P_PlayerThink (player_t *player)
I_Error ("No player %td start\n", player - players + 1); I_Error ("No player %td start\n", player - players + 1);
} }
if (player->SubtitleCounter > 0)
{
player->SubtitleCounter--;
}
// Bots do not think in freeze mode. // Bots do not think in freeze mode.
if (player->mo->Level->isFrozen() && player->Bot != nullptr) if (player->mo->Level->isFrozen() && player->Bot != nullptr)
{ {