Update to 14.0-RC3

This commit is contained in:
dP
2024-04-11 11:07:23 +07:00
parent da761f41e2
commit 872e715374
42 changed files with 792 additions and 612 deletions

View File

@@ -98,7 +98,7 @@ struct EnginePreviewWindow : Window {
}
this->vehicle_space = std::max<int>(ScaleSpriteTrad(40), y - y_offs);
size->width = std::max(size->width, x - x_offs);
size->width = std::max(size->width, x + std::abs(x_offs));
SetDParam(0, GetEngineCategoryName(engine));
size->height = GetStringHeight(STR_ENGINE_PREVIEW_MESSAGE, size->width) + WidgetDimensions::scaled.vsep_wide + GetCharacterHeight(FS_NORMAL) + this->vehicle_space;
SetDParam(0, engine);