1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +01:00

Fix: Following canceling

Stop previewing sequence now unfollows the current sprite.
Using the arrow keys in-game cancels following.
Resizing the window no longer cancels following.
This commit is contained in:
Robert Jordan
2017-11-03 12:02:12 -04:00
committed by Aaron van Geffen
parent 298420fd1e
commit 907f18fd69
4 changed files with 16 additions and 9 deletions

View File

@@ -84,6 +84,11 @@ void TitleScreen::StopPreviewingSequence()
{
if (_previewingSequence)
{
rct_window * mainWindow = window_get_main();
if (mainWindow != nullptr)
{
window_unfollow_sprite(mainWindow);
}
_previewingSequence = false;
_currentSequence = title_get_config_sequence();
gPreviewingTitleSequenceInGame = false;