mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Remove dialogue and cutscene bars if disabling completestop
This fixes a bug where the trinket collection text boxes, along with the cutscene bars, would stay on-screen if the player warped to the ship while they were up. This only happens during the gamestate 0 anti-softlock checks, and only if completestop is active in the first place, so text boxes aren't cleared if the player is doing something that wouldn't lead to a softlock otherise. Fixes #921.
This commit is contained in:
parent
88d49547d4
commit
2dc7f0b5e8
1 changed files with 6 additions and 0 deletions
|
@ -805,6 +805,12 @@ void Game::updatestate(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (completestop)
|
||||
{
|
||||
/* Close potential collection dialogue if warping to ship */
|
||||
graphics.textboxremove();
|
||||
graphics.showcutscenebars = false;
|
||||
}
|
||||
/* Prevent softlocks if there's no cutscene running right now */
|
||||
hascontrol = true;
|
||||
completestop = false;
|
||||
|
|
Loading…
Reference in a new issue