summaryrefslogtreecommitdiff
path: root/src/signal.cpp
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
commit0b54ea39db84f92dd37c129a565a5ab040b60261 (patch)
tree0c5b4bf4f20ce2d8418bf10ef943a2f84c7dedc0 /src/signal.cpp
parenteca692ef90477a0d0440b2354c99c0fac08bd2fa (diff)
downloadopenttd-0b54ea39db84f92dd37c129a565a5ab040b60261.tar.xz
(svn r13207) -Fix: misleading comments (michi_cc)
Diffstat (limited to 'src/signal.cpp')
-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)
{