mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-29 00:19:35 +01:00
(svn r11810) -Fix (r11802): reset sets when leaving prematurely
This commit is contained in:
parent
a1266da782
commit
e5d33482b4
@ -530,7 +530,10 @@ static bool UpdateSignalsInBuffer()
|
||||
}
|
||||
|
||||
/* do not do anything when some buffer was full */
|
||||
if (flags & SF_FULL) break;
|
||||
if (flags & SF_FULL) {
|
||||
ResetSets(); // free all sets
|
||||
break;
|
||||
}
|
||||
|
||||
UpdateSignalsAroundSegment(flags);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user