(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'

This commit is contained in:
alberth
2011-02-25 21:53:43 +00:00
parent 87c8d97aca
commit 1dbc0a20be
11 changed files with 14 additions and 14 deletions

View File

@@ -107,7 +107,7 @@ public:
/* start at n.m_key.m_tile / n.m_key.m_td and walk to the end of segment */
TileIndex tile = n.m_key.m_tile;
Trackdir trackdir = n.m_key.m_td;
while (true) {
for (;;) {
/* base tile cost depending on distance between edges */
segment_cost += Yapf().OneTileCost(tile, trackdir);