summaryrefslogtreecommitdiff
path: root/src/npf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/npf.cpp')
-rw-r--r--src/npf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/npf.cpp b/src/npf.cpp
index 6f64227e7..c916a9e23 100644
--- a/src/npf.cpp
+++ b/src/npf.cpp
@@ -464,7 +464,7 @@ static const PathNode *FindSafePosition(PathNode *path, const Train *v)
/* If there is no signal, reserve the whole path. */
PathNode *sig = path;
- for(; path->parent != NULL; path = path->parent) {
+ for (; path->parent != NULL; path = path->parent) {
if (IsSafeWaitingPosition(v, path->node.tile, path->node.direction, true, _settings_game.pf.forbid_90_deg)) {
sig = path;
}