Codefix: typos in comments and strings

This commit is contained in:
Rubidium
2025-08-31 09:28:04 +02:00
committed by rubidium42
parent 4fb749886a
commit 7c0f69a8fe
78 changed files with 135 additions and 135 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ public:
TileArea non_cached_area = v->IsBus() ? st->bus_station : st->truck_station;
non_cached_area.Expand(YAPF_ROADVEH_PATH_CACHE_DESTINATION_LIMIT);
/* Find the first tile not contained by the non-cachable area, and remove from the cache. */
/* Find the first tile not contained by the non-cacheable area, and remove from the cache. */
auto it = std::find_if(std::begin(path_cache), std::end(path_cache), [&non_cached_area](const auto &pc) { return !non_cached_area.Contains(pc.tile); });
path_cache.erase(std::begin(path_cache), it);
}