Changeset - r9323:764114999cce
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-05-22 00:37:27
smatz@openttd.org
(svn r13207) -Fix: misleading comments (michi_cc)
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/signal.cpp
Show inline comments
 
@@ -462,13 +462,13 @@ static inline void ResetSets()
 

	
 

	
 
/**
 
 * Updates blocks in _globset buffer
 
 *
 
 * @param owner player whose signals we are updating
 
 * @return false iff presignal entry would be green (needed for trains leaving depot)
 
 * @return state of the first block from _globset
 
 * @pre IsValidPlayer(owner)
 
 */
 
static SigSegState UpdateSignalsInBuffer(Owner owner)
 
{
 
	assert(IsValidPlayer(owner));
 

	
 
@@ -627,13 +627,13 @@ void AddSideToSignalBuffer(TileIndex til
 
 * Will check tile next to this at opposite side too
 
 *
 
 * @see UpdateSignalsInBuffer()
 
 * @param tile tile where we start
 
 * @param side side of tile
 
 * @param owner owner whose signals we will update
 
 * @return false iff train can leave depot
 
 * @return the state of the signal segment
 
 */
 
SigSegState UpdateSignalsOnSegment(TileIndex tile, DiagDirection side, Owner owner)
 
{
 
	assert(_globset.IsEmpty());
 
	_globset.Add(tile, side);
 

	
0 comments (0 inline, 0 general)