summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-05-22 00:37:27 +0000
committersmatz <smatz@openttd.org>2008-05-22 00:37:27 +0000
commit6b4f70099ea0710fbbc139f80c2543c274fdf5c1 (patch)
tree0c5b4bf4f20ce2d8418bf10ef943a2f84c7dedc0
parent7f80552293c164b9e19707ef601edbe1d1f28806 (diff)
downloadopenttd-6b4f70099ea0710fbbc139f80c2543c274fdf5c1.tar.xz
(svn r13207) -Fix: misleading comments (michi_cc)
-rw-r--r--src/signal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index e64480a4d..5347964f4 100644
--- 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 tile, DiagDirection side, Owner owner)
* @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)
{