Codechange: make DiagDirection a scoped enum

This commit is contained in:
Peter Nelson
2026-05-31 13:11:53 +01:00
committed by Peter Nelson
parent 356ca9c6d9
commit f010c21f1a
56 changed files with 395 additions and 394 deletions
+2 -2
View File
@@ -74,8 +74,8 @@ void CheckCaches()
for (const RoadStop *rs : RoadStop::Iterate()) {
if (IsBayRoadStopTile(rs->xy)) continue;
rs->GetEntry(DIAGDIR_NE).CheckIntegrity(rs);
rs->GetEntry(DIAGDIR_NW).CheckIntegrity(rs);
rs->GetEntry(DiagDirection::NE).CheckIntegrity(rs);
rs->GetEntry(DiagDirection::NW).CheckIntegrity(rs);
}
std::vector<NewGRFCache> grf_cache;