# HG changeset patch # User smatz # Date 1211416647 0 # Node ID 909e4fa75ac173d9cca133c52fac30b0ac8c55f6 # Parent cf7dc39f9576c8d7c55ba14ae27136f96efb124c (svn r13207) -Fix: misleading comments (michi_cc) diff -r cf7dc39f9576 -r 909e4fa75ac1 src/signal.cpp --- a/src/signal.cpp Wed May 21 22:15:39 2008 +0000 +++ b/src/signal.cpp Thu May 22 00:37:27 2008 +0000 @@ -465,7 +465,7 @@ * 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 @@ * @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) {