diff options
author | smatz <smatz@openttd.org> | 2009-08-14 17:11:59 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-08-14 17:11:59 +0000 |
commit | c5533ae4708d85dcdff8e53515e17ab593f7f361 (patch) | |
tree | 8fd6af1f0c5acb1263bb85643a19f5516a6822a5 /src/train_cmd.cpp | |
parent | 3108ff7ac667edf872ee96c6331f0f45e5253d98 (diff) | |
download | openttd-c5533ae4708d85dcdff8e53515e17ab593f7f361.tar.xz |
(svn r17168) -Codechange: apply coding style to if and while statements
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index a3ed9d30b..4d41c5fc6 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -2239,7 +2239,7 @@ static TrainFindDepotData FindClosestTrainDepot(Train *v, int max_distance) /* search in the forward direction first. */ DiagDirection i = TrainExitDir(v->direction, v->track); NewTrainPathfind(v->tile, 0, v->compatible_railtypes, i, (NTPEnumProc*)NtpCallbFindDepot, &tfdd); - if (tfdd.best_length == UINT_MAX){ + if (tfdd.best_length == UINT_MAX) { tfdd.reverse = true; /* search in backwards direction */ i = TrainExitDir(ReverseDir(v->direction), v->track); |