1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

(svn r11810) -Fix (r11802): reset sets when leaving prematurely

This commit is contained in:
smatz
2008-01-10 22:46:04 +00:00
parent a1266da782
commit e5d33482b4

View File

@@ -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);
}