Changeset - r8246:9ef58d195850
[Not reviewed]
master
0 1 0
smatz - 17 years ago 2008-01-10 22:46:04
smatz@openttd.org
(svn r11810) -Fix (r11802): reset sets when leaving prematurely
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/signal.cpp
Show inline comments
 
@@ -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);
 
	}
0 comments (0 inline, 0 general)