summaryrefslogtreecommitdiff
path: root/src/pathfinder
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfinder')
-rw-r--r--src/pathfinder/yapf/yapf_road.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/yapf/yapf_road.cpp b/src/pathfinder/yapf/yapf_road.cpp
index 57d020622..4bfa5b589 100644
--- a/src/pathfinder/yapf/yapf_road.cpp
+++ b/src/pathfinder/yapf/yapf_road.cpp
@@ -150,7 +150,7 @@ public:
/* move to the next tile */
tile = F.m_new_tile;
trackdir = new_td;
- if (tiles > MAX_MAP_SIZE) break;;
+ if (tiles > MAX_MAP_SIZE) break;
};
/* save end of segment back to the node */