# HG changeset patch # User smatz # Date 2008-05-22 00:37:27 # Node ID 764114999cce9d7b392ad472ee639a48e7915af6 # Parent 3f83b003479545375d771378f5474505faf7af2e (svn r13207) -Fix: misleading comments (michi_cc) diff --git a/src/signal.cpp b/src/signal.cpp --- a/src/signal.cpp +++ b/src/signal.cpp @@ -465,7 +465,7 @@ 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) @@ -630,7 +630,7 @@ void AddSideToSignalBuffer(TileIndex til * @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) {