mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
Codechange: make Direction a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
f010c21f1a
commit
d6783335ca
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user