mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -805,6 +805,12 @@ void Game::updatestate(void)
|
|||||||
}
|
}
|
||||||
else
|
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 */
|
/* Prevent softlocks if there's no cutscene running right now */
|
||||||
hascontrol = true;
|
hascontrol = true;
|
||||||
completestop = false;
|
completestop = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user