mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
Codechange: make DiagDirection a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
356ca9c6d9
commit
f010c21f1a
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user