Codechange: make Direction a scoped enum

This commit is contained in:
Peter Nelson
2026-05-31 13:11:53 +01:00
committed by Peter Nelson
parent f010c21f1a
commit d6783335ca
36 changed files with 604 additions and 604 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ void DrawAircraftImage(const Vehicle *v, const Rect &r, VehicleID selection, Eng
bool rtl = _current_text_dir == TD_RTL;
VehicleSpriteSeq seq;
v->GetImage(rtl ? DIR_E : DIR_W, image_type, &seq);
v->GetImage(rtl ? Direction::E : Direction::W, image_type, &seq);
Rect rect;
seq.GetBounds(&rect);