diff options
author | KUDr <KUDr@openttd.org> | 2006-05-28 19:01:29 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2006-05-28 19:01:29 +0000 |
commit | 21e7d7eaaa86fbbcdaaf3c32c0093249bc40d612 (patch) | |
tree | 5b6f71079745ac93aa0acc5cc8af515edbb05479 /yapf/yapf_rail.cpp | |
parent | 95e9f29b6e52c614acfdbfe03f3fb7822bde525f (diff) | |
download | openttd-21e7d7eaaa86fbbcdaaf3c32c0093249bc40d612.tar.xz |
(svn r5006) Added comments where doxygen generated warnings to test if it can help.
Diffstat (limited to 'yapf/yapf_rail.cpp')
-rw-r--r-- | yapf/yapf_rail.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yapf/yapf_rail.cpp b/yapf/yapf_rail.cpp index 08ee143ed..67d3d781f 100644 --- a/yapf/yapf_rail.cpp +++ b/yapf/yapf_rail.cpp @@ -260,6 +260,7 @@ bool YapfFindNearestRailDepotTwoWay(Vehicle *v, int max_distance, int reverse_pe return ret; } +/** if any track changes, this counter is incremented - that will invalidate segment cost cache */ int CSegmentCostCacheBase::s_rail_change_counter = 0; void YapfNotifyTrackLayoutChange(TileIndex tile, Track track) {CSegmentCostCacheBase::NotifyTrackLayoutChange(tile, track);} |