1
0
Fork 0

Fix: EngineImageType mismatch between sizing and drawing in preview window

pull/14455/head
Jonathan G Rennison 2025-07-18 08:53:21 +01:00
parent 1b01a0636c
commit 4145070f54
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ struct EnginePreviewWindow : Window {
/* Get size of engine sprite, on loan from depot_gui.cpp */
EngineID engine = static_cast<EngineID>(this->window_number);
EngineImageType image_type = EIT_PURCHASE;
EngineImageType image_type = EIT_PREVIEW;
uint x, y;
int x_offs, y_offs;