mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- fixed: The countdown for the subtitles display was never counted down so the messages remained forever.
This commit is contained in:
parent
89db16393e
commit
0eb9f18e9f
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue