Add road layout change counter, add to road veh path caches

Update layout counter when non-leaf road bits are added or removed
This commit is contained in:
Jonathan G Rennison
2019-05-24 18:51:30 +01:00
parent 42b6e8b0d8
commit 829c635add
15 changed files with 83 additions and 0 deletions

View File

@@ -420,6 +420,7 @@ public:
path_cache.td.pop_back();
path_cache.tile.pop_back();
}
path_cache.layout_ctr = _road_layout_change_counter;
}
return next_trackdir;
}