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:
committed by
Aaron van Geffen
parent
298420fd1e
commit
907f18fd69
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user