diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2019-04-22 08:03:04 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-04-29 17:40:22 +0100 |
commit | 9f3928658bb3f8aaf21b17e0144cb09722474fff (patch) | |
tree | 4bb17710202180968891733fd0a50c5d71f60974 /src/pathfinder/yapf/yapf_road.cpp | |
parent | 931d32f4145e36ef08b432314353ff9f058f6a08 (diff) | |
download | openttd-9f3928658bb3f8aaf21b17e0144cb09722474fff.tar.xz |
Codechange: Remove Track{dir,}{Bits,}Byte types
Diffstat (limited to 'src/pathfinder/yapf/yapf_road.cpp')
-rw-r--r-- | src/pathfinder/yapf/yapf_road.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pathfinder/yapf/yapf_road.cpp b/src/pathfinder/yapf/yapf_road.cpp index 3122dd111..9e206115f 100644 --- a/src/pathfinder/yapf/yapf_road.cpp +++ b/src/pathfinder/yapf/yapf_road.cpp @@ -390,9 +390,7 @@ public: while (pNode->m_parent != nullptr) { steps--; if (pNode->GetIsChoice() && steps < YAPF_ROADVEH_PATH_CACHE_SEGMENTS) { - TrackdirByte td; - td = pNode->GetTrackdir(); - path_cache.td.push_front(td); + path_cache.td.push_front(pNode->GetTrackdir()); path_cache.tile.push_front(pNode->GetTile()); } pNode = pNode->m_parent; |