forked from mirror/OpenTTD
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
This commit is contained in:
@@ -842,7 +842,7 @@ void DrawEngineList(VehicleType type, int l, int r, int y, const GUIEngineList *
|
||||
assert_compile(lengthof(sprite_y_offsets) == lengthof(sprite_widths));
|
||||
assert(max <= eng_list->Length());
|
||||
|
||||
bool rtl = _dynlang.text_dir == TD_RTL;
|
||||
bool rtl = _current_text_dir == TD_RTL;
|
||||
int step_size = GetEngineListHeight(type);
|
||||
int sprite_width = sprite_widths[type];
|
||||
|
||||
|
Reference in New Issue
Block a user