Codechange: Remove Track{dir,}{Bits,}Byte types

This commit is contained in:
Charles Pigott
2019-04-22 08:03:04 +01:00
committed by PeterN
parent 931d32f414
commit 9f3928658b
6 changed files with 10 additions and 18 deletions

View File

@@ -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;